.\" @(#)PEXSetBFReflectionAttributes.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXSetBFReflectionAttributes 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetBFReflectionAttributes - Set Back-Face Surface Reflection Attributes .SH SYNTAX .HP void PEXSetBFReflectionAttributes\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, PEXReflectionAttributes *\fIattributes\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 \fIattributes\fP 1i The back-facing surface reflection attributes. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetBFReflectionAttributes .IX "Back-Face Surface" PEXSetBFReflectionAttributes .LP This function creates an output primitive attribute which sets the back-facing surface reflection .I attributes. Surface reflection .I attributes consist of the ambient, diffuse and specular coefficients, the specular concentration and color, and the transmission coefficient. .SH DATA STRUCTURES .LP .nf typedef struct { float ambient; float diffuse; float specular; float specular_conc; float transmission; PEXColorSpecifier specular_color; .br } PEXReflectionAttributes; .fi See also .B PEXlib.h. .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 PEXSetIndividualASF (3) .BR PEXGetImpDepConstants (3) .fi