Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 8
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(). |
- 0
- Success.
- -1
- An error occurred (most likely you're trying to release the Photon
default DC).
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
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 138
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phdcrelease.html on line 138