QATextureBindColorTable
You can use theQATextureBindColorTablefunction to bind a color lookup table to a texture map.
TQAError QATextureBindColorTable ( const TQAEngine *engine, TQATexture *texture, TQAColorTable *colorTable);
engine- A drawing engine.
texture- A texture map.
colorTable- A color lookup table (as returned by a previous call to
QAColorTableNew).DESCRIPTION
TheQATextureBindColorTablefunction binds the color lookup table specified by thecolorTableparameter to the texture map specified by thetextureparameter. Before you can draw any texture map whose pixel type is eitherkQAPixel_CL4orkQAPixel_CL8, you must bind a color lookup table to it. In addition, the type of the specified color lookup table must match that of the pixel type of the texture map to which it is bound. For example, a color lookup table of typekQAColorTable_CL8_RGB32can be bound only to a texture map whose pixel type iskQAPixel_CL8.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help