Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorRange

Implements a DirectX12 IDescriptorRange.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12DescriptorRange final
    : public IDescriptorRange

Base Classes

NameDescription
IDescriptorRangeA contiguous range of descriptors on one of the global descriptor heaps, accessed directly by shaders through ResourceDescriptorHeap or SamplerDescriptorHeap.

Member Functions

NameDescription
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

Name
update

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::Rendering::Backends::DirectX12DeviceImplements a DirectX 12 graphics device.
LiteFX::Rendering::Backends::DirectX12DescriptorRange::DirectX12DescriptorRangeImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.