![]() |
wisdom
|
C version:
C++ version:
Type of the descriptor in the descriptor table.
D3D12_DESCRIPTOR_RANGE_TYPE for DirectX 12 implementation, and VkDescriptorType for Vulkan implementation.Values:
WisDescriptorTypeSampler = 0: Descriptor is a sampler.WisDescriptorTypeConstantBuffer = 1: Descriptor is a constant buffer.WisDescriptorTypeTexture = 2: Descriptor is a texture.WisDescriptorTypeRWTexture = 3: Descriptor is an unordered access read-write texture.WisDescriptorTypeRWBuffer = 4: Descriptor is an unordered access read-write buffer.WisDescriptorTypeBuffer = 5: Descriptor is a shader resource buffer.WisDescriptorTypeAccelerationStructure = 6: Descriptor is an acceleration structure.WisDescriptorTypeCount = 7: Number of descriptor types.