void PEXOCCSetBFSurfaceInterpMethod( PEXOCC context, int method )
void PEXSetBFSurfaceInterpMethod( Display *display, XID resource_id, PEXOCRequestType req_type, int method )
None.
Invoke PEXOCCSetBFSurfaceInterpMethod to create an attribute output command which sets the back-facing surface interpolation method attribute in the renderer's pipeline state according to the value specified by method.
By setting the back-facing surface interpolation method attribute's ASF to PEXIndividual (see PEXOCCSetIndividualASF), you use the back-facing surface interpolation method entry to specify how color values, including any alpha component, are computed in the interior of back-facing surface primitives. When you set the back-facing surface interpolation method attribute's ASF to PEXBundled, the implementation uses the back-facing surface interpolation method from the interior bundle table.
To apply the back-facing interpolation method to the back-facing surfaces of output primitives, you must set the facet distinguish flag to True (see PEXOCCSetFacetDistinguishFlag). If you set the flag to False, then the implementation uses the surface interpolation method when applying the interpolation method to back-facing surfaces (see PEXOCCSetSurfaceInterpMethod).
PEXlib defines the following interpolation methods (method):
If the implementation does not support the specified interpolation method, then the method defaults to PEXSurfaceInterpNone. Inquire the supported values for the back-facing surface interpolation method by invoking the PEXGetEnumTypeInfo function.
This function is a member of the styled and shaded surface attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.