| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Set the maximum size of a memory context's draw buffer
void PmMemSetMaxBufSize( PmMemoryContext_t *mc,
                         int size );
This function sets the maximum size that the memory context's draw buffer will grow to. The larger the buffer, the less often a flush will be required, and the faster the application will be. The default size of the draw buffer is 4K.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PmMemCreateMC(), PmMemReleaseMC(), PmMemSetChunkSize(), PmMemSetType()
"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) |