PmMemSetMaxBufSize()
Set the maximum size of a memory context's draw buffer
Synopsis:
void PmMemSetMaxBufSize( PmMemoryContext_t *mc,
int size );
Description:
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.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PmMemCreateMC(), PmMemReleaseMC(), PmMemSetChunkSize(), PmMemSetType()
"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
