21 Q3ColorRGB_Set

You can use the Q3ColorRGB_Set function to set the fields of an RGB color structure.

TQ3ColorRGB *Q3ColorRGB_Set (
TQ3ColorRGB *color, 
float r, 
float g, 
float b);
color On exit, a pointer to an RGB color structure.
r The red component of the color.
g The green component of the color.
b The blue component of the color.

DESCRIPTION


The Q3ColorRGB_Set function returns, as its function result and in the color parameter, a pointer to an RGB color structure whose fields contain the values in the 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