Skip to content

LiteFX::Rendering::Backends::DirectX12ComputePipeline::DirectX12ComputePipeline

Initializes a new DirectX 12 compute pipeline.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] explicit DirectX12ComputePipeline(
    DirectX12Device const& device,
    SharedPtr<DirectX12PipelineLayout> const& layout,
    SharedPtr<DirectX12ShaderProgram> const& shaderProgram,
    String const& name = "");

Parameters

NameDescription
deviceThe parent device.
layoutThe layout of the pipeline.
shaderProgramThe shader program used by this pipeline.
nameThe optional debug name of the compute pipeline.