共用方式為


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的新實例,使用從 i 複製DXGI_FORMAT列舉D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_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