.\" @(#)PEXSetBFReflectionModel.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXSetBFReflectionModel 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetBFReflectionModel - Set Back-Face Surface Reflection Model .SH SYNTAX .HP void PEXSetBFReflectionModel\^(\^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 back-facing surface reflection model ( .B PEXReflectionNone, .B PEXReflectionAmbient, .B PEXReflectionDiffuse, .B PEXReflectionSpecular). .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetBFReflectionModel .IX "Back-Face Surface" PEXSetBFReflectionModel .LP This function creates an output primitive attribute which sets the back-facing surface reflection .I model attribute. If the specified reflection .I model is not supported, .B PEXReflectionNone is used. Supported values for back-facing surface reflection .I 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