namespace Brutal.VulkanApi { /// /// VkAccelerationStructureCreateInfoKHR - Structure specifying the parameters of a newly created acceleration structure object /// /// /// /// :refpage: VkAccelerationStructureCreateInfoKHR /// /// /// The VkAccelerationStructureCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_acceleration_structure /// typedef struct VkAccelerationStructureCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkAccelerationStructureCreateFlagsKHR createFlags; /// VkBuffer buffer; /// VkDeviceSize offset; /// VkDeviceSize size; /// VkAccelerationStructureTypeKHR type; /// VkDeviceAddress deviceAddress; /// } VkAccelerationStructureCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkAccelerationStructureCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AccelerationStructureCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// CreateFlags is a bitmask of VkAccelerationStructureCreateFlagsKHR specifying additional creation parameters of the acceleration structure. /// [FieldOffset(16)] public VkAccelerationStructureCreateFlagsKHR CreateFlags; /// /// Buffer is the buffer on which the acceleration structure will be stored. /// [FieldOffset(24)] public VkBuffer Buffer; /// /// Offset is an offset in bytes from the base address of the buffer at which the acceleration structure will be stored, and must be a multiple of `256`. /// [FieldOffset(32)] public ByteSize64 Offset; /// /// Size is the size required for the acceleration structure. /// [FieldOffset(40)] public ByteSize64 Size; /// /// Type is a VkAccelerationStructureTypeKHR value specifying the type of acceleration structure that will be created. /// [FieldOffset(48)] public VkAccelerationStructureTypeKHR Type; /// /// DeviceAddress is the device address requested for the acceleration structure, obtained from vkGetAccelerationStructureDeviceAddressKHR, if the accelerationStructureCaptureReplay^ feature is being used. If deviceAddress is zero, no specific address is requested. /// [FieldOffset(56)] public VkDeviceAddress DeviceAddress; } }