CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY structure

A helper structure used to describe the primitive topology as a single object suitable for a stream description.

Syntax

struct CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY {
                                                   CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY;
                                                   CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY(D3D12_PRIMITIVE_TOPOLOGY_TYPE const &i);
  CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY operator=(D3D12_PRIMITIVE_TOPOLOGY_TYPE const& i);
                                                   operator D3D12_PRIMITIVE_TOPOLOGY_TYPE() const;
};

Members

CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY

Creates a new, uninitialized, instance of a CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY.

CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY(D3D12_PRIMITIVE_TOPOLOGY_TYPE const &i)

Creates a new instance of a CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY, initialized with a subobject type of D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY and subobject data copied from i, a D3D12_PRIMITIVE_TOPOLOGY_TYPE structure.

operator=(D3D12_PRIMITIVE_TOPOLOGY_TYPE const& i)

Copy-assignment operator.

operator D3D12_PRIMITIVE_TOPOLOGY_TYPE() const

Implicit conversion to a D3D12_PRIMITIVE_TOPOLOGY_TYPE structure.

Remarks

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

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<D3D12_PRIMITIVE_TOPOLOGY_TYPE, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY>
    CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY;
          

Requirements

Requirement Value
Header
D3dx12.h

See also

Helper Structures for D3D12

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE