CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT 结构

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

语法

struct CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT {
                                                     CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT;
                                                     CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT(DXGI_FORMAT const &i);
  CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT operator=(DXGI_FORMAT const& i);
                                                     operator DXGI_FORMAT() const;
};

成员

CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT

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

CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT (DXGI_FORMAT const &i)

创建CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT的新实例,该实例使用子对象类型的 D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT 初始化,以及从 iDXGI_FORMAT 枚举)复制的子对象数据。

operator= (DXGI_FORMAT const& i)

复制赋值运算符。

operator DXGI_FORMAT () const

隐式转换为 DXGI_FORMAT 枚举。

备注

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

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<DXGI_FORMAT, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT>
    CD3DX12_PIPELINE_STATE_STREAM_DEPTH_STENCIL_FORMAT;
          

要求

要求
标头
D3dx12.h

另请参阅

D3D12 的帮助程序结构

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE