Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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.
![]() |
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:
"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
