namespace Brutal.VulkanApi { /// /// VkAccelerationStructureCreateInfo2KHR - Structure specifying the parameters of a newly created acceleration structure object using a device address /// /// /// /// :refpage: VkAccelerationStructureCreateInfo2KHR /// /// /// The VkAccelerationStructureCreateInfo2KHR structure is defined as: /// /// /// // Provided by VK_KHR_acceleration_structure with VK_KHR_device_address_commands /// typedef struct VkAccelerationStructureCreateInfo2KHR { /// VkStructureType sType; /// const void* pNext; /// VkAccelerationStructureCreateFlagsKHR createFlags; /// VkDeviceAddressRangeKHR addressRange; /// VkAddressCommandFlagsKHR addressFlags; /// VkAccelerationStructureTypeKHR type; /// } VkAccelerationStructureCreateInfo2KHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkAccelerationStructureCreateInfo2KHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AccelerationStructureCreateInfo2KHR; /// /// 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; /// /// AddressRange is a VkDeviceAddressRangeKHR structure defining the size required for the acceleration structure and its starting address. /// [FieldOffset(24)] public VkDeviceAddressRangeKHR AddressRange; /// /// AddressFlags is a VkAddressCommandFlagsKHR value defining the flags for the address range. /// [FieldOffset(40)] public VkAddressCommandFlagsKHR AddressFlags; /// /// Type is a VkAccelerationStructureTypeKHR value specifying the type of acceleration structure that will be created. /// [FieldOffset(44)] public VkAccelerationStructureTypeKHR Type; } }