4 Managing Bitmaps

4 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 QuickDraw3D routine.

TQ3Status Q3Bitmap_Empty (TQ3Bitmap *bitmap);
bitmap A pointer to a bitmap obtained by a previous call to some QuickDraw3D 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 QuickDraw3D routine (for example, Q3Marker_GetBitmap). You should not call Q3Bitmap_Empty to deallocate bitmaps that you allocated yourself.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker