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/pm/pmmemstop.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/pm/pmmemstop.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/pm/pmmemstop.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/pm/pmmemstop.html on line 8

PmMemStop()

Deactivate a memory context

Synopsis:

#include <photon/PhRender.h>

PhDrawContext_t * PmMemStop( 
                      PmMemoryContext_t *mc );

Library:

ph

Description:

This function deactivates the memory context mc, if it's active, making the default draw context active. This means that draw commands are sent to Photon (i.e. draws will no longer be affecting the memory image).

Returns:

The mc argument if the memory context was successfully deactivated, or NULL if it wasn't active at the time of this call.

Examples:

See PmMemCreateMC().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PmMemCreateMC(), PmMemReleaseMC(), PmMemStart()

Flickerless animation 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/pm/pmmemstop.html on line 103

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/pm/pmmemstop.html on line 103