PmMemReleaseMC()

Release a memory context

Synopsis:

#include <photon/PhRender.h>

void PmMemReleaseMC( PmMemoryContext_t *mc );

Library:

ph

Description:

This function releases the draw context, and shuts down and frees any resources created by the provided memory context.


Note: This function doesn't release the image buffer if PmMemCreateMC() didn't create it.

If the provided memory context is active at the time of this call, the default draw context automatically becomes the current draw context.

Examples:

See PmMemCreateMC().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PmMemCreateMC()

Flickerless animation in the Raw Drawing and Animation chapter of the Photon Programmer's Guide