Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Managing Bitmaps


Q3Bitmap_Empty

You can use the Q3Bitmap_Empty function to release the memory occupied by a bitmap that was allocated by a previous call to some QuickDraw 3D routine.

TQ3Status Q3Bitmap_Empty (TQ3Bitmap *bitmap);
bitmap
A pointer to a bitmap obtained by a previous call to some QuickDraw 3D routine such as Q3Marker_GetData, Q3Marker_GetBitmap, Q3DrawContext_GetMask, or Q3ViewHints_GetMask.
DESCRIPTION
The Q3Bitmap_Empty function releases the memory occupied by the bitmap pointed to by the bitmap parameter; that memory must have been allocated by a previous call to some QuickDraw 3D routine (for example, Q3Marker_GetBitmap). You should not call Q3Bitmap_Empty to deallocate bitmaps that you allocated yourself.


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