.\" @(#)PEXSetViewIndex.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetViewIndex 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetViewIndex - Set View Index .SH SYNTAX .HP void PEXSetViewIndex\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, unsigned int \fIindex\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIindex\fP 1i The view table index. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetViewIndex .LP This function creates an output primitive attribute which sets the view .I index attribute. If the specified view .I index is not defined, the default index zero is used. If view index zero is undefined, the default values are used: all clip flags are on; the clip limits are set to <0,0,0> , <1,1,1>; orientation and mapping are the identity matrices. .SH ERRORS .TP .SB BadPEXOutputCommand The view index value exceeds 65534. .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXCreateLookupTable (3) .fi