CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL结构

一种帮助程序结构,用于将深度模具说明描述描述为适合流描述的单个对象。

语法

struct CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL {
                                              CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL;
                                              CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL(CD3DX12_DEPTH_STENCIL_DESC const &i);
  CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL operator=(CD3DX12_DEPTH_STENCIL_DESC const& i);
                                              operator CD3DX12_DEPTH_STENCIL_DESC() const;
};

成员

CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL

创建CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL的未初始化的新实例。

CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL (CD3DX12_DEPTH_STENCIL_DESC const &i)

创建CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL的新实例,该实例使用从i(CD3DX12_DEPTH_STENCIL_DESC结构)复制的子对象类型D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL和子对象数据进行初始化。

operator= (CD3DX12_DEPTH_STENCIL_DESC const& i)

复制赋值运算符。

operator CD3DX12_DEPTH_STENCIL_DESC () const

隐式转换为 CD3DX12_DEPTH_STENCIL_DESC 结构。

备注

CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL是 CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT 模板的 typedef 专用化,定义如下:

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<CD3DX12_DEPTH_STENCIL_DESC, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL, CD3DX12_DEFAULT>
    CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL;
          

要求

要求
标头
D3dx12.h

请参阅

D3D12 的帮助程序结构

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE