void PEXOCCSetDataMappingIndex( PEXOCC context, unsigned int index )
None.
Invoke PEXOCCSetDataMappingIndex to create an attribute output command which sets the data mapping index attribute in the renderer's pipeline state according to the value specified by index.
You use the data mapping index to select an entry of the renderer's data mapping table. This entry supplies the data mapping method when you set the data mapping method attribute's ASF to PEXBundled (see PEXOCCSetIndividualASF).
If you do not set the facet distinguish mode to True (see PEXOCCSetFacetDistinguishFlag), then the implementation applies this data mapping index to back-facing as well as to front-facing surfaces. Otherwise the implementation uses the back-facing data mapping index.
If you specify an index of zero, then the implementation issues a BadPEXOutputCommand error.
This function is a member of the data mapping attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.