Photon provides the following functions to support memory contexts:
| Entry | Description |
|---|---|
| PmMemCreateMC() | Create a memory context |
| PmMemFlush() | Flush a memory context to its bitmap |
| PmMemReleaseMC() | Release a memory context |
| PmMemSetChunkSize() | Set the increment for growing a memory context's draw buffer |
| PmMemSetMaxBufSize() | Set the maximum size of a memory context's draw buffer |
| PmMemSetType() | Set the type of a memory context |
| PmMemStart() | Make a memory context active |
| PmMemStop() | Deactivate a memory context |