Skip to content

LiteFX::Rendering::Backends::DirectX12ComputePipelineBuilder::layout

Uses the provided pipeline layout to initialize the compute pipeline. Can be invoked only once.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
constexpr TSelf&& layout(this 
    TSelf&& self,
    SharedPtr<pipeline_layout_type> layout);

Parameters

NameDescription
layoutThe pipeline layout to initialize the compute pipeline with.