Athugasemd
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
The SetClipPlane function sets a clip plane.
Syntax
PFND3DDDI_SETCLIPPLANE Pfnd3dddiSetclipplane;
HRESULT Pfnd3dddiSetclipplane(
HANDLE hDevice,
const D3DDDIARG_SETCLIPPLANE *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_SETCLIPPLANE structure that describes the clip plane to set.
Return value
SetClipPlane returns S_OK or an appropriate error result if the clip plane is not successfully set.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |