[Previous] [Contents] [Index] [Next]

PdDirectStop()

Leave direct mode

Synopsis:

PhDrawContext_t *
   PdDirectStop(
      PdDirectContext_t *DirectContext );

Library:

ph

Description:

This function takes the application out of direct mode, but doesn't destroy the direct-mode context. DirectContext is the pointer returned by a call to PdCreateDirectContext().


Note: This call blocks until the operation is complete.

Returns:

The default draw context (draw through Photon).

Examples:

See PdCreateDirectContext().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateDirectContext(), PdDirectStart(), PdReleaseDirectContext()

"Direct mode" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]