CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC structure

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

Syntax

struct CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC {
                                            CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC;
                                            CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC(DXGI_SAMPLE_DESC const &i);
  CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC operator=(DXGI_SAMPLE_DESC const& i);
                                            operator DXGI_SAMPLE_DESC() const;
};

Members

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC

Creates a new, uninitialized, instance of a CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC.

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC(DXGI_SAMPLE_DESC const &i)

Creates a new instance of a CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC, initialized with a subobject type of D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC and subobject data copied from i, a DXGI_SAMPLE_DESC structure.

operator=(DXGI_SAMPLE_DESC const& i)

Copy-assignment operator.

operator DXGI_SAMPLE_DESC() const

Implicit conversion to a DXGI_SAMPLE_DESC structure.

Remarks

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

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<DXGI_SAMPLE_DESC, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC>
    CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC;
          

Requirements

Requirement Value
Header
D3dx12.h

See also

Helper Structures for D3D12

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE