Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout

Implements a DirectX 12 DescriptorSetLayout.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12DescriptorSetLayout final
    : public DescriptorSetLayout<DirectX12DescriptorLayout, DirectX12DescriptorSet>

Base Classes

NameDescription
DescriptorSetLayout<DirectX12DescriptorLayout, DirectX12DescriptorSet>Describes the layout of a descriptor set.

Type Aliases

Member Functions

NameDescription
~DirectX12DescriptorSetLayout [destructor] [virtual]Destructor
allocate allocate overloads
bindsResources [virtual]Returns true if the descriptor set layout contains bindings for resources (i.e., bindings that aren't samplers) and false otherwise.
bindsSamplers [virtual]Returns true if the descriptor set layout contains bindings for samplers and false otherwise.
buffers [virtual]Returns the number of texel buffer descriptors within the descriptor set.
containsUnboundedArray [virtual]Returns true, if the descriptor set layout contains an unbounded runtime array and false otherwise.
descriptor [virtual]Returns the descriptor layout for the descriptor bound to the binding point provided with binding.
descriptors [virtual]Returns the layouts of the descriptors within the descriptor set.
device Returns the parent device or nullptr, if it has been released.
free Marks a descriptor set as unused, so that it can be handed out again instead of allocating a new one.
getDescriptorOffset [virtual]Returns the offset for a descriptor within a descriptor set of this layout.
images [virtual]Returns the number of image (i.e. texture) descriptors within the descriptor set.
inputAttachments [virtual]Returns the number of input attachment descriptors within the descriptor set.
samplers [virtual]Returns the number of dynamic sampler descriptors within the descriptor set.
shaderStages [virtual]Returns the shader stages, the descriptor set is used in.
space [virtual]Returns the space index of the descriptor set.
staticSamplers [virtual]Returns the number of static or immutable sampler descriptors within the descriptor set.
storages [virtual]Returns the number of structured and byte address buffer descriptors within the descriptor set.
uniforms [virtual]Returns the number of uniform/constant buffer descriptors within the descriptor set.

Static Member Functions

NameDescription
create create overloads

Using Declarations

Name
allocate
free

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12PipelineLayoutImplements a DirectX 12 PipelineLayout.
LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilderBuilds a DirectX12DescriptorSetLayout for a pipeline layout.
LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout::DirectX12DescriptorSetLayoutImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12DescriptorSet

DirectX12PipelineDescriptorSetLayoutBuilder