

14 Shader Objects Routines
14 Managing Textures
QuickDraw3D provides routines that you can use to get information about the characteristics of a texture. You can get the dimensions of a texture, as well as the number of channels and the number of bits per channel. You cannot, however, reset any of these texture characteristics (they are determined at the time you create a texture object). You can also get the current alpha and RGB channels of a texture. You can reset these characteristics to achieve special effects.
To create a texture object, you need to create an instance of some subclass of the texture class. For example, you can create a pixmap texture object by calling Q3PixmapTexture_New
. See "Managing Pixmap Textures" on page 14-29 for information on creating and manipulating pixmap textures.<8bat>u
- 14 - Q3Texture_GetType
-
- 14 - Q3Texture_GetWidth
-
- 14 - Q3Texture_GetHeight
-
3D Graphics Programming with QuickDraw 3D - 17 OCT 1995© Apple Computer, Inc.


Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker