LiteFX::Rendering::Backends::DirectX12DescriptorLayout¶
Implements a DirectX 12 IDescriptorLayout
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
class [[dllimport, dllexport]] DirectX12DescriptorLayout final
: public IDescriptorLayout
Base Classes¶
| Name | Description |
|---|---|
IDescriptorLayout | Describes a the layout of a single descriptor within a DescriptorSet. |
Member Functions¶
| Name | Description |
|---|---|
DirectX12DescriptorLayout [constructor] | Constructors |
~DirectX12DescriptorLayout [destructor] [virtual] | Destructor |
operator= | Assignment operators |
binding [virtual] | Returns the binding point, the buffer will be bound to. |
descriptorType [virtual] | Returns the type of the descriptor. |
descriptors [virtual] | Returns the number of descriptors in the descriptor array. |
elementSize [virtual] | Returns the size of a single element within the buffer. |
local | Returns true, if the descriptor belongs to the local root signature of a ray-tracing pipeline or false otherwise. |
staticSampler [virtual] | If the descriptor describes a static sampler, this method returns the state of the sampler. Otherwise, it returns nullptr. |
type [virtual] | Returns the buffer type of the buffer. |
unbounded [virtual] | Returns true, if the descriptor defines an unbounded descriptor array. |
Protected Member Functions¶
| Name | Description |
|---|---|
operator= | Assignment operators |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::Backends::DirectX12DescriptorLayout::DirectX12DescriptorLayoutImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |
See Also¶
IDirectX12Buffer
IDirectX12Image
IDirectX12Sampler
DirectX12DescriptorSet
DirectX12DescriptorSetLayout