ID3DX11EffectDepthStencilViewVariable::GetDepthStencil 方法

获取深度模具视图资源。

语法

HRESULT GetDepthStencil(
   ID3D11DepthStencilView **ppResource
);

参数

ppResource

类型: ID3D11DepthStencilView**

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

返回值

类型: HRESULT

返回以下 Direct3D 11 返回代码之一

备注

注意

DirectX SDK 不提供任何用于效果的已编译二进制文件。 必须使用 Effects 11 源来生成效果类型应用程序。 有关使用效果 11 源的详细信息,请参阅 效果 10 和效果 11 之间的差异

要求

要求
标头
D3dx11effect.h

N/A (Effects 11 库作为共享 source 联机提供。)

另请参阅

ID3DX11EffectDepthStencilViewVariable