CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY 结构
用于将基元拓扑描述为适合流描述的单个对象的帮助程序结构。
语法
struct CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY {
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY;
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY(D3D12_PRIMITIVE_TOPOLOGY_TYPE const &i);
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY operator=(D3D12_PRIMITIVE_TOPOLOGY_TYPE const& i);
operator D3D12_PRIMITIVE_TOPOLOGY_TYPE() const;
};
成员
-
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY
-
创建CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY的未初始化的新实例。
-
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY (D3D12_PRIMITIVE_TOPOLOGY_TYPE const &i)
-
创建CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY的新实例,该实例使用从 i(D3D12_PRIMITIVE_TOPOLOGY_TYPE 结构)复制的D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY子对象类型和子对象数据进行初始化。
-
operator= (D3D12_PRIMITIVE_TOPOLOGY_TYPE const& i)
-
复制赋值运算符。
-
operator D3D12_PRIMITIVE_TOPOLOGY_TYPE () const
-
隐式转换为 D3D12_PRIMITIVE_TOPOLOGY_TYPE 结构。
备注
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY是 CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT 模板的 typedef 专用化,定义如下:
typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<D3D12_PRIMITIVE_TOPOLOGY_TYPE, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY>
CD3DX12_PIPELINE_STATE_STREAM_PRIMITIVE_TOPOLOGY;
要求
要求 | 值 |
---|---|
标头 |
|