IDCompositionVisual3::SetDepthMode 方法 (dcomp.h)
设置与此视觉对象关联的深度模式属性。
语法
HRESULT SetDepthMode(
[in] DCOMPOSITION_DEPTH_MODE mode
);
参数
[in] mode
类型: DCOMPOSITION_DEPTH_MODE
新的深度模式。
返回值
类型: HRESULT
如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。
要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | dcomp.h |
Library | Dcomp.lib |
DLL | Dcomp.dll |