CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER 结构
一种帮助器结构,用于将光栅器说明描述描述为适合流描述的单个对象。
语法
struct CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER {
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER;
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER(CD3DX12_RASTERIZER_DESC const &i);
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER operator=(CD3DX12_RASTERIZER_DESC const& i);
operator CD3DX12_RASTERIZER_DESC() const;
};
成员
-
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER
-
创建CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER的未初始化的新实例。
-
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER (CD3DX12_RASTERIZER_DESC const &i)
-
创建CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER的新实例,该实例使用子对象类型的 D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER 初始化,以及从 i( CD3DX12_RASTERIZER_DESC 结构)复制的子对象数据。
-
operator= (CD3DX12_RASTERIZER_DESC const& i)
-
复制赋值运算符。
-
operator CD3DX12_RASTERIZER_DESC () const
-
隐式转换为 CD3DX12_RASTERIZER_DESC 结构。
备注
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER是 CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT 模板的 typedef 专用化,定义如下:
typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<CD3DX12_RASTERIZER_DESC, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER, CD3DX12_DEFAULT>
CD3DX12_PIPELINE_STATE_STREAM_RASTERIZER;
要求
要求 | 值 |
---|---|
标头 |
|