PEXSetFacetDistinguishFlag(3) — Subroutines
Name
PEXSetFacetDistinguishFlag - Set Facet Distinguish Flag
Synopsis
void PEXSetFacetDistinguishFlag(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 facet distinguish flag (True or False).
Returns
None
Description
This function creates an output primitive attribute which sets the facet distinguish flag attribute. Values for the facet distinguish flag are True (use back-face attributes to renderer surfaces) or False (use front-face attributes to renderer surfaces).
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.