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/pd/pdreleasedirectcontext.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/pd/pdreleasedirectcontext.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/pd/pdreleasedirectcontext.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/pd/pdreleasedirectcontext.html on line 8

PdReleaseDirectContext()

Leave direct mode and release the direct-mode context

Synopsis:

void PdReleaseDirectContext( 
        PdDirectContext_t *DirectContext );

Arguments:

DirectContext
The pointer to a PdDirectContext_t structure returned by PdCreateDirectContext(). This argument must not be NULL.

Library:

ph

Description:

This function leaves direct mode (if the application is currently in it), destroys the direct-mode context, and restores the original default context.


Note: You must target this function at a specific card by calling PdSetTargetDevice().

Examples:

See PdCreateDirectContext().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateDirectContext(), PdDirectStart(), PdDirectStop(), PdSetTargetDevice()

Direct mode 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/pd/pdreleasedirectcontext.html on line 120

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/pd/pdreleasedirectcontext.html on line 120