namespace Brutal.VulkanApi { /// /// VkTraceRaysIndirectCommand2KHR - Structure specifying the parameters of an indirect trace ray command with indirect shader binding tables /// /// /// /// :refpage: VkTraceRaysIndirectCommand2KHR /// /// /// The VkTraceRaysIndirectCommand2KHR structure is defined as: /// /// /// // Provided by VK_KHR_ray_tracing_maintenance1 with VK_KHR_ray_tracing_pipeline /// typedef struct VkTraceRaysIndirectCommand2KHR { /// VkDeviceAddress raygenShaderRecordAddress; /// VkDeviceSize raygenShaderRecordSize; /// VkDeviceAddress missShaderBindingTableAddress; /// VkDeviceSize missShaderBindingTableSize; /// VkDeviceSize missShaderBindingTableStride; /// VkDeviceAddress hitShaderBindingTableAddress; /// VkDeviceSize hitShaderBindingTableSize; /// VkDeviceSize hitShaderBindingTableStride; /// VkDeviceAddress callableShaderBindingTableAddress; /// VkDeviceSize callableShaderBindingTableSize; /// VkDeviceSize callableShaderBindingTableStride; /// uint32_t width; /// uint32_t height; /// uint32_t depth; /// } VkTraceRaysIndirectCommand2KHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 104)] public partial struct VkTraceRaysIndirectCommand2KHR() { /// /// RaygenShaderRecordAddress is a basetype:VkDeviceAddress of the ray generation shader binding table record used by this command. /// [FieldOffset(0)] public VkDeviceAddress RaygenShaderRecordAddress; /// /// RaygenShaderRecordSize is a basetype:VkDeviceSize number of bytes corresponding to the ray generation shader binding table record at base address raygenShaderRecordAddress. /// [FieldOffset(8)] public ByteSize64 RaygenShaderRecordSize; /// /// MissShaderBindingTableAddress is a basetype:VkDeviceAddress of the first record in the miss shader binding table used by this command. /// [FieldOffset(16)] public VkDeviceAddress MissShaderBindingTableAddress; /// /// MissShaderBindingTableSize is a basetype:VkDeviceSize number of bytes corresponding to the total size of the miss shader binding table at missShaderBindingTableAddress that may be accessed by this command. /// [FieldOffset(24)] public ByteSize64 MissShaderBindingTableSize; /// /// MissShaderBindingTableStride is a basetype:VkDeviceSize number of bytes between records of the miss shader binding table. /// [FieldOffset(32)] public ByteSize64 MissShaderBindingTableStride; /// /// HitShaderBindingTableAddress is a basetype:VkDeviceAddress of the first record in the hit shader binding table used by this command. /// [FieldOffset(40)] public VkDeviceAddress HitShaderBindingTableAddress; /// /// HitShaderBindingTableSize is a basetype:VkDeviceSize number of bytes corresponding to the total size of the hit shader binding table at hitShaderBindingTableAddress that may be accessed by this command. /// [FieldOffset(48)] public ByteSize64 HitShaderBindingTableSize; /// /// HitShaderBindingTableStride is a basetype:VkDeviceSize number of bytes between records of the hit shader binding table. /// [FieldOffset(56)] public ByteSize64 HitShaderBindingTableStride; /// /// CallableShaderBindingTableAddress is a basetype:VkDeviceAddress of the first record in the callable shader binding table used by this command. /// [FieldOffset(64)] public VkDeviceAddress CallableShaderBindingTableAddress; /// /// CallableShaderBindingTableSize is a basetype:VkDeviceSize number of bytes corresponding to the total size of the callable shader binding table at callableShaderBindingTableAddress that may be accessed by this command. /// [FieldOffset(72)] public ByteSize64 CallableShaderBindingTableSize; /// /// CallableShaderBindingTableStride is a basetype:VkDeviceSize number of bytes between records of the callable shader binding table. /// [FieldOffset(80)] public ByteSize64 CallableShaderBindingTableStride; /// /// Width is the width of the ray trace query dimensions. /// [FieldOffset(88)] public int Width; /// /// Height is height of the ray trace query dimensions. /// [FieldOffset(92)] public int Height; /// /// Depth is depth of the ray trace query dimensions. /// [FieldOffset(96)] public int Depth; } }