CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO結構
協助程序結構,用來將快取的 PSO 描述描述為適合數據流描述的單一物件。
語法
struct CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO {
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO;
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO(D3D12_CACHED_PIPELINE_STATE const &i);
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO operator=(D3D12_CACHED_PIPELINE_STATE const& i);
operator D3D12_CACHED_PIPELINE_STATE() const;
};
成員
-
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO
-
建立新的未初始化CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO實例。
-
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO(D3D12_CACHED_PIPELINE_STATE const &i)
-
建立CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO的新實例,並以從 i 複製D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO和子對象數據的子物件類型初始化,D3D12_CACHED_PIPELINE_STATE 結構。
-
operator=(D3D12_CACHED_PIPELINE_STATE const& i)
-
複製指派運算子。
-
operator D3D12_CACHED_PIPELINE_STATE() const
-
隱含轉換成 D3D12_CACHED_PIPELINE_STATE 結構。
備註
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO是CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT範本的 typedef 特製化,且定義如下:
typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<D3D12_CACHED_PIPELINE_STATE, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO>
CD3DX12_PIPELINE_STATE_STREAM_CACHED_PSO;
需求
需求 | 值 |
---|---|
頁首 |
|