namespace Brutal.VulkanApi { /// /// VkAccelerationStructureBuildSizesInfoKHR - Structure specifying build sizes for an acceleration structure /// /// /// /// :refpage: VkAccelerationStructureBuildSizesInfoKHR /// /// /// The VkAccelerationStructureBuildSizesInfoKHR structure describes the /// required build sizes for an acceleration structure and scratch buffers and /// is defined as: /// /// /// // Provided by VK_KHR_acceleration_structure /// typedef struct VkAccelerationStructureBuildSizesInfoKHR { /// VkStructureType sType; /// void* pNext; /// VkDeviceSize accelerationStructureSize; /// VkDeviceSize updateScratchSize; /// VkDeviceSize buildScratchSize; /// } VkAccelerationStructureBuildSizesInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkAccelerationStructureBuildSizesInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AccelerationStructureBuildSizesInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AccelerationStructureSize is the size in bytes required in a VkAccelerationStructureKHR for a build or update operation. /// [FieldOffset(16)] public ByteSize64 AccelerationStructureSize; /// /// UpdateScratchSize is the size in bytes required in a scratch buffer for an update operation. /// [FieldOffset(24)] public ByteSize64 UpdateScratchSize; /// /// BuildScratchSize is the size in bytes required in a scratch buffer for a build operation. /// [FieldOffset(32)] public ByteSize64 BuildScratchSize; } }