共用方式為


ID3D10EffectDepthStencilViewVariable::GetDepthStencil 方法 (d3d10effect.h)

取得深度樣板檢視資源。

語法

HRESULT GetDepthStencil(
  [out] ID3D10DepthStencilView **ppResource
);

參數

[out] ppResource

類型: ID3D10DepthStencilView**

深度樣板檢視介面指標的位址。 請參閱 ID3D10DepthStencilView 介面

傳回值

類型: HRESULT

傳回下列其中一個 Direct3D 10 傳回碼

規格需求

   
目標平台 Windows
標頭 d3d10effect.h (包含 D3d10)

另請參閱

ID3D10EffectDepthStencilViewVariable 介面