LiteFX::Rendering::Backends::DirectX12DescriptorRange
Implements a DirectX12 IDescriptorRange.
Synopsis
Declared in <litefx/backends/dx12.hpp>
class [[dllimport, dllexport]] DirectX12DescriptorRange final
: public IDescriptorRange
Base Classes
| Name | Description |
IDescriptorRange | A contiguous range of descriptors on one of the global descriptor heaps, accessed directly by shaders through ResourceDescriptorHeap or SamplerDescriptorHeap. |
Member Functions
| Name | Description |
DirectX12DescriptorRange [constructor] | Constructors |
~DirectX12DescriptorRange [destructor] [virtual] | Destructor |
operator= | Assignment operators |
cpuHandle | Returns the CPU handle of element in the shader-visible global descriptor heap. |
globalIndex [virtual] | Returns the index of element within the global descriptor heap, i.e., the value a shader uses to index ResourceDescriptorHeap or SamplerDescriptorHeap. |
gpuHandle | Returns the GPU handle of element in the shader-visible global descriptor heap. |
heap [virtual] | Returns the underlying heap, the range is allocated from. |
size [virtual] | Returns the size of the descriptor range. |
update | update overloads |
Using Declarations
Protected Member Functions
| Name | Description |
operator= | Assignment operators |
Friends