namespace Brutal.VulkanApi { /// /// VkDescriptorSetAndBindingMappingEXT - Structure specifying mappings from a set of shader resources to a descriptor heap /// /// /// /// :refpage: VkDescriptorSetAndBindingMappingEXT /// /// /// The VkDescriptorSetAndBindingMappingEXT structure is defined as: /// /// /// // Provided by VK_EXT_descriptor_heap /// typedef struct VkDescriptorSetAndBindingMappingEXT { /// VkStructureType sType; /// const void* pNext; /// uint32_t descriptorSet; /// uint32_t firstBinding; /// uint32_t bindingCount; /// VkSpirvResourceTypeFlagsEXT resourceMask; /// VkDescriptorMappingSourceEXT source; /// VkDescriptorMappingSourceDataEXT sourceData; /// } VkDescriptorSetAndBindingMappingEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 96)] public unsafe partial struct VkDescriptorSetAndBindingMappingEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorSetAndBindingMappingEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DescriptorSet is the value of DescriptorSet for resources that this mapping affects. /// [FieldOffset(16)] public int DescriptorSet; /// /// FirstBinding is the first value of Binding of resources that this mapping affects. /// [FieldOffset(20)] public int FirstBinding; /// /// BindingCount is the number of consecutive Binding values of resources that this mapping affects. /// [FieldOffset(24)] public int BindingCount; /// /// ResourceMask is a mask of VkSpirvResourceTypeFlagsEXT values indicating which resource types are specified by this mapping. /// [FieldOffset(28)] public VkSpirvResourceTypeFlagsEXT ResourceMask; /// /// Source is a VkDescriptorMappingSourceEXT value specifying the method of mapping specified for the affected resources. /// [FieldOffset(32)] public VkDescriptorMappingSourceEXT Source; /// /// SourceData is a VkDescriptorMappingSourceDataEXT that provides the details of how each mapping is specified according to source. /// [FieldOffset(40)] public VkDescriptorMappingSourceDataEXT SourceData; } }