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.