PmMemSetMaxBufSize()

Set the maximum size of a memory context's draw buffer

Synopsis:

#include <photon/PhRender.h>

void PmMemSetMaxBufSize( PmMemoryContext_t *mc,
                         int size );

Library:

ph

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