![]() |
![]() |
![]() |
![]() |
Set the maximum size of a memory context's draw buffer
#include <photon/PhRender.h>
void PmMemSetMaxBufSize( PmMemoryContext_t *mc,
int size );
ph
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
![]() |
![]() |
![]() |
![]() |