Release a draw context
int PhDCRelease( PhDrawContext_t *dc );
ph
This function releases the provided DC (the default Photon draw context can not be released). The context is notified of its pending demise before it's destroyed, so that it can do any necessary cleanup.
You aren't likely to call this function directly unless you're releasing:
The functions that release specific types of contexts (e.g. direct-mode, printer, and memory) call PhDCRelease(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdReleaseDirectContext(), PdCreateOffscreenContext(), PhDCCreate(), PhDCGetCurrent(), PhDCSetCurrent(), PmMemReleaseMC(), PpReleasePC()
“Video memory offscreen” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide