共用方式為


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