void PEXOCCSetFacetCullingMode(
PEXOCC context,
int mode
)
void PEXSetFacetCullingMode(
Display *display,
XID resource_id,
PEXOCRequestType req_type,
int mode
)
None.
Invoke PEXOCCSetFacetCullingMode to create an attribute output command which sets the facet culling mode attribute in the renderer's pipeline state.
PEXlib defines the following facet culling modes (mode):
A front-facing facet is defined if the geometric normal of a primitive facet has a non-negative z-component in normalized projection coordinates (NPCs).
If you specify an undefined facet culling mode, then the implementation issues a BadPEXOutputCommand error.
This function is a member of the general surface attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.