PEXSetModelClipFlag(3) — Subroutines
Name
PEXSetModelClipFlag - Set Model Clipping Flag
Synopsis
void PEXSetModelClipFlag(Display ∗display, XID resource_id, PEXOCRequestType req_type, int flag)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
flagThe model clipping flag (PEXClip or PEXNoClip).
Returns
None
Description
This function creates an output primitive attribute which sets the model clip attribute. Values for the model clip flag are PEXClip (enable modeling clipping) and PEXNoClip (disable modeling clipping).
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetModelClipVolume, PEXSetModelClipVolume2D, PEXRestoreModelClipVolume