Important: The information in this document is obsolete and should not be used for new development.
GXUnloadColorSet
You can use theGXUnloadColorSet
function to unload a color set from memory.
void GXUnloadColorSet(gxColorSet target);
target
- A reference to the color set object to be unloaded from memory.
DESCRIPTION
TheGXUnloadColorSet
function moves a color set object from the active graphics client heap to disk storage. When you or QuickDraw GX use theGXUnloadColorSet
function to unload a color set object from memory to disk storage, QuickDraw GX stores its location in a 4-byte stub in the active graphics client heap. When you use theGXLoadColorSet
function to reload the object from disk storage to memory, QuickDraw GX uses the stub to find the stored color set object.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory color_set_is_nil SEE ALSO
For additional information about loading objects from disk storage to memory and unloading objects from memory to disk storage, see the section "Loading and Unloading Objects" beginning on page 2-12.The
GXLoadColorSet
function is described in the previous section.