| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Flush a memory context to its bitmap
int PmMemFlush( PmMemoryContext_t *mc, 
                PhImage_t *image );
    
This function forces any unprocessed draw-stream commands to be processed. Then, the PhImage_t structure pointed to by image is filled in with information from the memory image. The image can then be rendered via any of the PgDrawImage*() or PgDrawPhImagemx() functions.
See PmMemCreateMC().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |