Triangle Flags Masks
Theflagsparameter for theQADrawTriGouraudandQADrawTriTexturefunctions specifies a triangle mode, which determines how the drawing engine draws a triangle. You can use these masks to set theflagsparameter.
#define kQATriFlags_None 0 #define kQATriFlags_Backfacing (1 << 0)Constant descriptions
kQATriFlags_None- Pass this value for no triangle flags. The triangle is frontfacing or has an unspecified orientation.
kQATriFlags_Backfacing- The triangle is backfacing. You should set this bit for all triangles known to be backfacing (to help the drawing engine resolve ambiguous hidden surface removal situations).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help