PEXSetBFSurfaceInterpMethod(3) — Subroutines
Name
PEXSetBFSurfaceInterpMethod - Set Back-Face Surface Interpolation Method
Synopsis
void PEXSetBFSurfaceInterpMethod(Display ∗display, XID resource_id, PEXOCRequestType req_type, int method)
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).
methodThe back-facing surface interpolation method (PEXSurfaceInterpNone, PEXSurfaceInterpColor, PEXSurfaceInterpDotProduct, PEXSurfaceInterpNormal).
Returns
None
Description
This function creates an output primitive attribute which sets the back-facing surface interpolation method attribute. If the specified interpolation method is not supported, PEXSurfaceInterpNone is used. Supported values for back-facing surface interpolation method are inquirable via PEXGetEnumTypeInfo.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXGetEnumTypeInfo, PEXSetIndividualASF