CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC結構

協助程式結構,用來將範例描述描述描述描述為適合資料流程描述的單一物件。

語法

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;
};

成員

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的新實例,並以從 i 複製DXGI_SAMPLE_DESC結構的子物件類型D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC,以及從i複製的子物件類型初始化。

operator= (DXGI_SAMPLE_DESC const & i)

複製指派運算子。

operator DXGI_SAMPLE_DESC () const

隱含轉換成 DXGI_SAMPLE_DESC 結構。

備註

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC是 CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT 範本的 typedef 特製化,並定義如下:

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<DXGI_SAMPLE_DESC, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC>
    CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC;
          

規格需求

需求
標頭
D3dx12.h

另請參閱

D3D12 的協助程式結構

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE