Leave direct mode
PhDrawContext_t *
PdDirectStop(
PdDirectContext_t *DirectContext );
ph
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().
| This call blocks until the operation is complete. |
The default draw context (draw through Photon).
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PdCreateDirectContext(), PdDirectStart(), PdReleaseDirectContext()
"Direct mode" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide