Skip to content

LiteFX::Rendering::Backends::DirectX12PipelineLayoutBuilder::descriptorSet

Builds a new descriptor set for the pipeline layout.

Synopsis

Declared in <litefx/backends/dx12_builders.hpp>

[[dllexport]] DirectX12DescriptorSetLayoutBuilder descriptorSet(
    UInt32 space = 0,
    ShaderStage stages = ShaderStage::Any);

Return Value

Builds a DirectX12DescriptorSetLayout for a pipeline layout.

Parameters

NameDescription
spaceThe space, the descriptor set is bound to.
stagesThe stages, the descriptor set will be accessible from.