CD3DX12_PIPELINE_STATE_STREAM_CS structure

A helper structure used to describe a compute shader as a single object suitable for a stream description.

Syntax

struct CD3DX12_PIPELINE_STATE_STREAM_CS {
                                   CD3DX12_PIPELINE_STATE_STREAM_CS;
                                   CD3DX12_PIPELINE_STATE_STREAM_CS(D3D12_SHADER_BYTECODE const &i);
  CD3DX12_PIPELINE_STATE_STREAM_CS operator=(D3D12_SHADER_BYTECODE const& i);
                                   operator D3D12_SHADER_BYTECODE() const;
};

Members

CD3DX12_PIPELINE_STATE_STREAM_CS

Creates a new, uninitialized, instance of a CD3DX12_PIPELINE_STATE_STREAM_CS.

CD3DX12_PIPELINE_STATE_STREAM_CS(D3D12_SHADER_BYTECODE const &i)

Creates a new instance of a CD3DX12_PIPELINE_STATE_STREAM_CS, initialized with a subobject type of D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS and subobject data copied from i, a D3D12_SHADER_BYTECODE structure.

operator=(D3D12_SHADER_BYTECODE const& i)

Copy-assignment operator.

operator D3D12_SHADER_BYTECODE() const

Implicit conversion to a D3D12_SHADER_BYTECODE structure.

Remarks

CD3DX12_PIPELINE_STATE_STREAM_CS is a typedef specialization of the CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT template, and is defined as follows:

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<D3D12_SHADER_BYTECODE, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS>
    CD3DX12_PIPELINE_STATE_STREAM_CS;
          

Requirements

Requirement Value
Header
D3dx12.h

See also

Helper Structures for D3D12

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE