namespace Brutal.VulkanApi { /// /// VkDescriptorMappingSourceIndirectIndexArrayEXT - Structure specifying mapping resources to a heap index array in indirect data /// /// /// /// :refpage: VkDescriptorMappingSourceIndirectIndexArrayEXT /// /// /// The VkDescriptorMappingSourceIndirectIndexArrayEXT structure is /// defined as: /// /// /// // Provided by VK_EXT_descriptor_heap /// typedef struct VkDescriptorMappingSourceIndirectIndexArrayEXT { /// uint32_t heapOffset; /// uint32_t pushOffset; /// uint32_t addressOffset; /// uint32_t heapIndexStride; /// const VkSamplerCreateInfo* pEmbeddedSampler; /// VkBool32 useCombinedImageSamplerIndex; /// uint32_t samplerHeapOffset; /// uint32_t samplerPushOffset; /// uint32_t samplerAddressOffset; /// uint32_t samplerHeapIndexStride; /// } VkDescriptorMappingSourceIndirectIndexArrayEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkDescriptorMappingSourceIndirectIndexArrayEXT() { /// /// HeapOffset is a constant byte offset added to the heap address for the mapped resource or sampler. /// [FieldOffset(0)] public int HeapOffset; /// /// PushOffset is an offset into push data where an the indirect address will be. /// [FieldOffset(4)] public int PushOffset; /// /// AddressOffset is an index into the address in push data where an index into the heap for the mapped resource will be retrieved. /// [FieldOffset(8)] public int AddressOffset; /// /// HeapIndexStride is a constant byte stride that multiplies the index in indirect data. /// [FieldOffset(12)] public int HeapIndexStride; /// /// EmbeddedSampler is an optional VkSamplerCreateInfo structure specifying a sampler to embed into the shader, in place of looking the sampler up in a heap. /// [FieldOffset(16)] public VkSamplerCreateInfo* EmbeddedSampler; /// /// UseCombinedImageSamplerIndex specifies whether the generated index value will be decoded as two packed indices if the mapped resource is an OpTypeSampledImage. /// [FieldOffset(24)] public Brutal.Bool32 UseCombinedImageSamplerIndex; /// /// SamplerHeapOffset is used only when mapping a combined image sampler, used in place of `heapOffset` to retrieve the sampler. /// [FieldOffset(28)] public int SamplerHeapOffset; /// /// SamplerPushOffset is used only when mapping a combined image sampler, used in place of `pushOffset` to retrieve the sampler. /// [FieldOffset(32)] public int SamplerPushOffset; /// /// SamplerAddressOffset is used only when mapping a combined image sampler, used in place of `addressOffset` to retrieve the sampler. /// [FieldOffset(36)] public int SamplerAddressOffset; /// /// SamplerHeapIndexStride is used only when mapping a combined image sampler, used in place of `heapIndexStride` to retrieve the sampler. /// [FieldOffset(40)] public int SamplerHeapIndexStride; } }