21 Q3ColorARGB_Set

You can use the Q3ColorARGB_Set function to set the fields of an ARGB color structure.

TQ3ColorARGB *Q3ColorARGB_Set (
TQ3ColorARGB *color, 
float a, 
float r, 
float g, 
float b);
color On exit, a pointer to an ARGB color structure.
a The alpha channel of the color.
r The red component of the color.
g The green component of the color.
b The blue component of the color.

DESCRIPTION


The Q3ColorARGB_Set function returns, as its function result and in the color parameter, a pointer to an ARGB color structure whose fields contain the values in the a, r, g, and b parameters.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 18 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker