Operating systems, development tools, and professional services
for connected embedded systems

QNX Developer Support

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

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]