LiteFX::Rendering::IDescriptorRange¶
A contiguous range of descriptors on one of the global descriptor heaps, accessed directly by shaders through ResourceDescriptorHeap or SamplerDescriptorHeap.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] IDescriptorRange;Description¶
The range releases its descriptors when destroyed. The caller must ensure that the GPU no longer accesses the range at this point.
Member Functions¶
| Name | Description |
|---|---|
~IDescriptorRange [destructor] [virtual] | Destructor |
globalIndex [virtual] | Returns the index of element within the global descriptor heap, i.e., the value a shader uses to index ResourceDescriptorHeap or SamplerDescriptorHeap. |
heap [virtual] | Returns the underlying heap, the range is allocated from. |
size [virtual] | Returns the size of the descriptor range. |
update | update overloads |
Protected Member Functions¶
| Name | Description |
|---|---|
IDescriptorRange [constructor] | Constructors |
operator= | Assignment operators |
Derived Classes¶
| Name | Description |
|---|---|
DirectX12DescriptorRange | Implements a DirectX12 IDescriptorRange. |
VulkanDescriptorRange | Implements a Vulkan IDescriptorRange. |