Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 21 - QuickDraw 3D Color Utilities / QuickDraw 3D Color Utilities Reference
QuickDraw 3D Color Utilities /


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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help