.\" @(#)PEXGSE-PEXSunGseIdSetSurfTranspCoef.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXGSE-PEXSunGseIdSetSurfTranspCoef 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXGSE-PEXSunGseIdSetSurfTranspCoef - PEX Set Surface Transparency Coefficient .SH SYNTAX .HP void PEXGSE\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, long \fIid\fP\^, int \fIlength\fP\^, char *\fIdata\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP 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 \fIid\fP 1i The identifier of the GSE. .IP \fIlength\fP 1i The length, in bytes, of the GSE data. .IP \fIdata\fP 1i .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXGSE-PEXSunGseIdSetSurfTranspCoef .IX "GSE" "PEXGSE-PEXSunGseIdSetSurfTranspCoef" .LP To use the Sun SetSurfaceTransparencyCoefficient GSE, the .I id parameter should be set to .B PEXSunGSEIdSetSurfTranspCoef, the .I data parameter should be set to point to structure type .I pexSunGseTranspCoef, and the .I length parameter should be set to the total length of .I data. .LP This GSE sets a surface transparency coefficient to be applied when rendering subsequent surface primitives. .SH DATA STRUCTURES .nf typedef struct { .br PEXFLOAT value; .br } pexSunGseTranspCoef; .fi .LP The .I value field can range from 0.0 to 1.0. .SH SEE ALSO .LP .nf .BR PEXGSE (3) .fi