[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

glAlphaValueQNXf()

Get a normalized alpha value

Synopsis:

#define glAlphaValueQNXf(color)...

Arguments:

color
A PgColor_t color from which you want the alpha channel value.

Library:

GL

Description:

Use this macro to get the alpha channel as a normalized float from a PgColor_t . Intended for use with glColor*() type functions.

Returns:

The alpha component, as a normalized float.

Classification:

Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

glBlueValueQNXf(), glGreeValueQNXf(), glRedValueQNXf(), PgAlphaValue(), PgColor_t.

"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]