ID3D10EffectDepthStencilViewVariable::GetDepthStencil 方法 (d3d10effect.h)

获取深度模具视图资源。

语法

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

参数

[out] ppResource

类型: ID3D10DepthStencilView**

指向深度模具视图接口的指针的地址。 请参阅 ID3D10DepthStencilView 接口

返回值

类型: HRESULT

返回以下 Direct3D 10 返回代码之一。

要求

   
目标平台 Windows
标头 d3d10effect.h (包括 D3d10)

另请参阅

ID3D10EffectDepthStencilViewVariable 接口