.\" @(#)PEXSetReflectionModel.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetReflectionModel 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetReflectionModel - Set Surface Reflection Model .SH SYNTAX .HP void PEXSetReflectionModel\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, int \fImodel\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 \fImodel\fP 1i The surface reflection model ( .B PEXReflectionNone, .B PEXReflectionAmbient, .B PEXReflectionDiffuse, .B PEXReflectionSpecular). .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetReflectionModel .LP This function creates an output primitive attribute which sets the surface reflection model attribute. If the specified reflection model is not supported, .B PEXReflectionNone is used. Supported values for surface reflection model are inquirable via .BR PEXGetEnumTypeInfo (3) . .SH ERRORS .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 PEXGetEnumTypeInfo (3) .BR PEXSetIndividualASF (3) .fi