void PEXOCCSetBFInteriorBundleIndex( PEXOCC context, unsigned int index )
None.
Invoke PEXOCCSetBFInteriorBundleIndex to create an attribute output command which sets the back- facing interior bundle index attribute in the renderer's pipeline state according to the value specified by index.
You use the back-facing interior bundle index to select an entry of the renderer's interior bundle table whenever a bundlable back-facing interior attribute's ASF is set to PEXBundled (see PEXOCCSetIndividualASF) and you have set the renderer's PHIGS interior bundle table to True. PEXlib supports the bundling of the following back-facing interior attributes: back-facing surface interior style, back-facing surface interior style index, back-facing surface color, and back-facing surface interpolation method.
To apply the back-facing attributes to the back-facing interiors 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 interior bundle index (see PEXOCCSetInteriorBundleIndex) and ignores the back-facing interior bundle index.
If you specify an undefined interior bundle index, then the index defaults to index one. If index one is not defined, then the implementation sets the bundled back-facing surface interior style to PEXInteriorStyleHollow, back-facing interior style index to 1, back-facing surface color to index color 1, and back-facing surface interpolation method to PEXSurfaceInterpNone. If you specify an interior bundle index of zero, then the implementation issues a BadPEXOutputCommand error.
See also the discussion on PHIGS interior bundle mode.
This function is a member of the styled and shaded surface attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.