Enum DescriptorType

Enum Documentation

enum class gpa::playback::DescriptorType

Enumerates different data structure that are represented in the PipelineDescriptorBinding.

Note

For D3D12 this enum is analagous to the D3D12_DESCRIPTOR_RANGE_TYPE enum with D3D12_DESCRIPTOR_RANGE_TYPE_CBV and D3D12_DESCRIPTOR_RANGE_TYPE_UAV mapping to BUFFER, D3D12_DESCRIPTOR_RANGE_TYPE_SRV mapping to TEXTURE, and D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER mapping to SAMPLER. For Vulkan the enum is analigus to VkDescriptorType enum with VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT mapping to BUFFER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT mapping to TEXTURE, VK_DESCRIPTOR_TYPE_SAMPLER mapping to SAMPLER, and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER mapping to COMBINED_IMAGE_SAMPLER

Values:

enumerator BUFFER
enumerator TEXTURE
enumerator SAMPLER
enumerator COMBINED_IMAGE_SAMPLER
enumerator ACCELERATION_STRUCTURE