Enum
VkDescriptorMappingSourceEXT
Specifies the mapping source for a shader binding
The possible mapping sources for a shader binding are:
typedef enum VkDescriptorMappingSourceEXT {
VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT = 0,
VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT = 1,
VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT = 2,
VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT = 3,
VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT = 4,
VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT = 5,
VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT = 6,
VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT = 7,
} VkDescriptorMappingSourceEXT;
pub struct DescriptorMappingSourceEXT(u32);
impl DescriptorMappingSourceEXT {
pub const HEAP_WITH_CONSTANT_OFFSET: Self = 0;
pub const HEAP_WITH_PUSH_INDEX: Self = 1;
pub const HEAP_WITH_INDIRECT_INDEX: Self = 2;
pub const HEAP_WITH_INDIRECT_INDEX_ARRAY: Self = 3;
pub const RESOURCE_HEAP_DATA: Self = 4;
pub const PUSH_DATA: Self = 5;
pub const PUSH_ADDRESS: Self = 6;
pub const INDIRECT_ADDRESS: Self = 7;
}
VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXTspecifies that the resource will be backed by a descriptor from the heap at a constant index.VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXTspecifies that the resource will be backed by a descriptor from the heap at an index sourced from push data, added to a constant index.VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXTspecifies that the resource will be backed by a descriptor from the heap at an index sourced from an address in push data, added to a constant index. If the mapping is an array, the array will be mapped to a base offset in indirect memory, and subsequent elements are mapped as offsets to that base.VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXTspecifies that the resource will be backed by a descriptor from the heap at an index sourced from an address in push data, added to a constant index. If the mapping is an array, each array element will be mapped to a separate index in indirect memory.VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXTspecifies that the resource will be backed by heap data directly.VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXTspecifies that the resource will be backed by push data directly.VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXTspecifies that the resource will be backed by an address in push data.VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXTspecifies that the resource will be backed by an address sourced via another address in push data.VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXTspecifies that the resource will be backed by a descriptor from the heap at an index sourced from shader record data, added to a constant index.VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXTspecifies that the resource will be backed by shader record data directly.VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXTspecifies that the resource will be backed by an address in shader record data.
Parent
VK_EXT_descriptor_heapType
Enum