Deactivate a memory context
#include <photon/PhRender.h> PhDrawContext_t * PmMemStop( PmMemoryContext_t *mc );
ph
This function deactivates the memory context mc, if it's active, making the default draw context active. This means that draw commands are sent to Photon (i.e. draws will no longer be affecting the memory image).
The mc argument if the memory context was successfully deactivated, or NULL if it wasn't active at the time of this call.
See PmMemCreateMC().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PmMemCreateMC(), PmMemReleaseMC(), PmMemStart()
“Flickerless animation” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide