ID3D12GraphicsCommandList::SetPipelineState method

Sets all shaders and programs most of the fixed-function state of the graphics processing unit (GPU) pipeline.

Syntax

void SetPipelineState(
  ID3D12PipelineState *pPipelineState
);

Parameters

pPipelineState

Type: ID3D12PipelineState*

        Pointer to the <a href="https://msdn.microsoft.com/DD922194-8AD2-4ADF-9AC2-46C903C56AE6">ID3D12PipelineState</a> containing the pipeline state data.

Return Value

This method does not return a value.

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See Also

ID3D12GraphicsCommandList