class GpuComputePipelineState

Describes the state of the GPU pipeline that determines how are compute programs executed.

It consists of of a single programmable state (GPU program).

Public

Constructors

GpuComputePipelineState

GpuComputePipelineState(GpuDevice &gpuDevice, const GpuComputePipelineStateCreateInformation &createInformation)

Methods

~GpuComputePipelineState

virtual ~GpuComputePipelineState() = default

Initialize

virtual void Initialize()

Initializes the object.

The object should not be used before this is called.

GetProgram

const SPtr<GpuProgram> &GetProgram() const

GetParameterLayout

const SPtr<GpuPipelineParameterLayout> &GetParameterLayout() const

Returns an object containing the layout of all parameters in the GPU program used in this pipeline state.

Protected

Fields

mGpuDevice

GpuDevice & mGpuDevice

mParameterLayout

SPtr<GpuPipelineParameterLayout> mParameterLayout