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_CACHED_PIPELINE_STATE 结构)复制的D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO子对象类型和子对象数据进行初始化。
-
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;
要求
要求 | 值 |
---|---|
标头 |
|