QADrawTriTexture
You can use theQADrawTriTexturefunction to draw texture-mapped triangles.
#define QADrawTriTexture(drawContext,v0,v1,v2,flags) \ (drawContext)->drawTriTexture (drawContext,v0,v1,v2,flags)
drawContext- A draw context.
v0- A texture vertex.
v1- A texture vertex.
v2- A texture vertex.
flags- A set of triangle flags. See "Triangle Flags Masks," beginning on page 1-63 for a complete description of the available flags.
DESCRIPTION
TheQADrawTriTexturefunction draws the texture-mapped triangle determined by the three points specified by thev0,v1, andv2parameters into the draw context specified by thedrawContextparameter. The texture used for the mapping is determined by the value of thekQATag_Texturestate variable. Features of the triangle are determined by theflagsparameter. Currently, this parameter is used to specify an orientation for the triangle.SPECIAL CONSIDERATIONS
TheQADrawTriTexturefunction is optional and must be supported only by drawing engines that support texture mapping.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help