void PEXOCCSetViewIndex( PEXOCC context, unsigned int index )
void PEXSetViewIndex( Display *display, XID resource_id, PEXOCRequestType req_type, unsigned int index )
None.
Invoke PEXOCCSetViewIndex to create an attribute output command which sets the view index attribute in the renderer's pipeline state according to the value specified by index.
Use the view index to select an entry of the renderer's view table. The view defines a volume in world coordinates being viewed, from where it is viewed, and how it is placed in normalized projection coordinate (NPC) space.
If you specify an undefined view index, then the index defaults to view table index zero. If view index zero is not defined, then the implementation sets all clip flags to PEXClip, the clip limits to <0,0,0>, <1,1,1>; the orientation and mapping matrices to identity, and the eyepoint to PEXViewEyepointImplicit.
If the index you specify exceeds 65534, then the implementation issues a BadPEXOutputCommand error.
The view index function is a member of the global attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.