.\" @(#)PEXSetReflectionAttributes.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetReflectionAttributes 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetReflectionAttributes - Set Surface Reflection Attributes .SH SYNTAX .HP void PEXSetReflectionAttributes\^(\^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 surface reflection attributes. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetReflectionAttributes .LP This function creates an output primitive attribute which sets the 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 .sp .5 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