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 複製 D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC DXGI_SAMPLE_DESC 結構的子物件類型和子對象數據來初始化。
-
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;
需求
需求 | 值 |
---|---|
頁首 |
|