Q3ColorRGB_Set
You can use theQ3ColorRGB_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
TheQ3ColorRGB_Set
function returns, as its function result and in thecolor
parameter, a pointer to an RGB color structure whose fields contain the values in ther
,g
, andb
parameters.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help