Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 3.38 KB

nf-d3d12-id3d12device-createcomputepipelinestate.md

File metadata and controls

87 lines (68 loc) · 3.38 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d12.ID3D12Device.CreateComputePipelineState
ID3D12Device::CreateComputePipelineState (d3d12.h)
Creates a compute pipeline state object.
CreateComputePipelineState
CreateComputePipelineState method
CreateComputePipelineState method
ID3D12Device interface
ID3D12Device interface
CreateComputePipelineState method
ID3D12Device.CreateComputePipelineState
ID3D12Device::CreateComputePipelineState
d3d12/ID3D12Device::CreateComputePipelineState
direct3d12.id3d12device_createcomputepipelinestate
direct3d12\id3d12device_createcomputepipelinestate.htm
direct3d12
FFA361B2-D8FA-4F5A-8D0C-022C2AA76B57
12/05/2018
CreateComputePipelineState, CreateComputePipelineState method, CreateComputePipelineState method,ID3D12Device interface, ID3D12Device interface,CreateComputePipelineState method, ID3D12Device.CreateComputePipelineState, ID3D12Device::CreateComputePipelineState, d3d12/ID3D12Device::CreateComputePipelineState, direct3d12.id3d12device_createcomputepipelinestate
d3d12.h
Windows
D3D12.lib
D3D12.dll
Windows
19H1
ID3D12Device::CreateComputePipelineState
d3d12/ID3D12Device::CreateComputePipelineState
c++
APIRef
kbSyntax
COM
D3D12.dll
ID3D12Device.CreateComputePipelineState

ID3D12Device::CreateComputePipelineState

-description

Creates a compute pipeline state object.

-parameters

-param pDesc [in]

Type: const D3D12_COMPUTE_PIPELINE_STATE_DESC*

A pointer to a D3D12_COMPUTE_PIPELINE_STATE_DESC structure that describes compute pipeline state.

-param riid

Type: REFIID

The globally unique identifier (GUID) for the pipeline state interface (ID3D12PipelineState). The REFIID, or GUID, of the interface to the pipeline state can be obtained by using the __uuidof() macro. For example, __uuidof(ID3D12PipelineState) will get the GUID of the interface to a pipeline state.

-param ppPipelineState [out]

Type: void**

A pointer to a memory block that receives a pointer to the ID3D12PipelineState interface for the pipeline state object. The pipeline state object is an immutable state object. It contains no methods.

-returns

Type: HRESULT

This method returns E_OUTOFMEMORY if there is insufficient memory to create the pipeline state object. See Direct3D 12 Return Codes for other possible return values.

-see-also

ID3D12Device