namespace Brutal.VulkanApi { /// /// VkDescriptorMappingSourceEXT - Specifies the mapping source for a shader binding /// /// /// /// The possible mapping sources for a shader binding are: /// /// /// // Provided by VK_EXT_descriptor_heap /// 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, /// // Provided by VK_EXT_descriptor_heap with VK_KHR_ray_tracing_pipeline or VK_NV_ray_tracing /// VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT = 8, /// // Provided by VK_EXT_descriptor_heap with VK_KHR_ray_tracing_pipeline or VK_NV_ray_tracing /// VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT = 9, /// // Provided by VK_EXT_descriptor_heap with VK_KHR_ray_tracing_pipeline or VK_NV_ray_tracing /// VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT = 10, /// } VkDescriptorMappingSourceEXT; /// /// public enum VkDescriptorMappingSourceEXT : int { /// /// HeapWithConstantOffsetEXT specifies that the resource will be backed by a descriptor from the heap at a constant index. /// HeapWithConstantOffsetEXT = 0, /// /// HeapWithPushIndexEXT specifies that the resource will be backed by a descriptor from the heap at an index sourced from push data, added to a constant index. /// HeapWithPushIndexEXT = 1, /// /// HeapWithIndirectIndexEXT specifies 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. /// HeapWithIndirectIndexEXT = 2, /// /// HeapWithIndirectIndexArrayEXT specifies 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. /// HeapWithIndirectIndexArrayEXT = 3, /// /// ResourceHeapDataEXT specifies that the resource will be backed by heap data directly. /// ResourceHeapDataEXT = 4, /// /// PushDataEXT specifies that the resource will be backed by push data directly. /// PushDataEXT = 5, /// /// PushAddressEXT specifies that the resource will be backed by an address in push data. /// PushAddressEXT = 6, /// /// IndirectAddressEXT specifies that the resource will be backed by an address sourced via another address in push data. /// IndirectAddressEXT = 7, /// /// HeapWithShaderRecordIndexEXT /// HeapWithShaderRecordIndexEXT = 8, /// /// ShaderRecordDataEXT /// ShaderRecordDataEXT = 9, /// /// ShaderRecordAddressEXT /// ShaderRecordAddressEXT = 10, /// /// MaxEnumEXT /// MaxEnumEXT = 0x7FFFFFFF, } }