// d3dumddi.h
PFND3DDDI_SETCLIPPLANE Pfnd3dddiSetclipplane;
HRESULT Pfnd3dddiSetclipplane(
HANDLE hDevice,
const D3DDDIARG_SETCLIPPLANE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The SetClipPlane function sets a clip plane.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_SETCLIPPLANE structure that describes the clip plane to set.
SetClipPlane returns S_OK or an appropriate error result if the clip plane is not successfully set.
The coefficients that are passed to SetClipPlane in the Plane array of the D3DDDIARG_SETCLIPPLANE structure that is pointed to by pData are used in the general plane equation. For more information about the general plane equation, see the Remarks section of D3DDDIARG_SETCLIPPLANE.