[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.

glRedValueQNXf()

Get a normalized red value

Synopsis:

#define glRedValueQNXf(color)...

Arguments:

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

Library:

GL

Description:

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

Returns:

The red component, as a normalized float.

Classification:

Neutrino

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

See also:

glAlphaValueQNXf(), glBlueValueQNXf(), glGreeValueQNXf(), PgRedValue(), PgColor_t.

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


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