PFND3DDDI_SETCLIPPLANE回呼函式 (d3dumddi.h)

SetClipPlane 函式會設定裁剪平面。

語法

PFND3DDDI_SETCLIPPLANE Pfnd3dddiSetclipplane;

HRESULT Pfnd3dddiSetclipplane(
  HANDLE hDevice,
  const D3DDDIARG_SETCLIPPLANE *unnamedParam2
)
{...}

參數

hDevice

顯示裝置的句柄 (圖形內容) 。

unnamedParam2

pData [in]

描述要設定之裁剪平面 之D3DDDIARG_SETCLIPPLANE 結構的指標。

傳回值

SetClipPlane 會傳回S_OK,如果未成功設定剪輯平面,則傳回適當的錯誤結果。

備註

pData 所指向之 D3DDDIARG_SETCLIPPLANE平面結構之平面陣列中傳遞至 SetClipPlane 的係數,會用於一般平面方程式。 For more information about the general plane equation, see the Remarks section of D3DDDIARG_SETCLIPPLANE.

規格需求

需求
最低支援的用戶端 可在 Windows Vista 和更新版本的 Windows 作業系統中使用。
目標平台 桌面
標頭 d3dumddi.h (include D3dumddi.h)

另請參閱

D3DDDIARG_SETCLIPPLANE

D3DDDI_DEVICEFUNCS