Skip to content

LiteFX::Rendering::Backends::DirectX12PipelineLayout::create

Creates a new DirectX 12 render pipeline layout.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] static auto create(
    DirectX12Device const& device,
    Enumerable<SharedPtr<DirectX12DescriptorSetLayout>> const& descriptorSetLayouts,
    UniquePtr<DirectX12PushConstantsLayout>&& pushConstantsLayout);

Return Value

A shared pointer to the newly created pipeline layout instance.

Parameters

NameDescription
deviceThe parent device, the layout is created from.
descriptorSetLayoutsThe descriptor set layouts used by the pipeline.
pushConstantsLayoutThe push constants layout used by the pipeline.