namespace Brutal.VulkanApi { /// /// VkBindAccelerationStructureMemoryInfoNV - Structure specifying acceleration structure memory binding /// /// /// /// :refpage: VkBindAccelerationStructureMemoryInfoNV /// /// /// The VkBindAccelerationStructureMemoryInfoNV structure is defined as: /// /// /// // Provided by VK_NV_ray_tracing /// typedef struct VkBindAccelerationStructureMemoryInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkAccelerationStructureNV accelerationStructure; /// VkDeviceMemory memory; /// VkDeviceSize memoryOffset; /// uint32_t deviceIndexCount; /// const uint32_t* pDeviceIndices; /// } VkBindAccelerationStructureMemoryInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkBindAccelerationStructureMemoryInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindAccelerationStructureMemoryInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AccelerationStructure is the acceleration structure to be attached to memory. /// [FieldOffset(16)] public VkAccelerationStructureNV AccelerationStructure; /// /// Memory is a VkDeviceMemory object describing the device memory to attach. /// [FieldOffset(24)] public VkDeviceMemory Memory; /// /// MemoryOffset is the start offset of the region of memory that is to be bound to the acceleration structure. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified acceleration structure. /// [FieldOffset(32)] public ByteSize64 MemoryOffset; /// /// DeviceIndexCount is the number of elements in pDeviceIndices. /// [FieldOffset(40)] public int DeviceIndexCount; /// /// DeviceIndices is a pointer to an array of device indices. /// [FieldOffset(48)] public int* DeviceIndices; } }