Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PdDirectStart()
Enter direct mode
Synopsis:
PhDrawContext_t *PdDirectStart(
PdDirectContext_t *DirectContext );
Arguments:
- DirectContext
- A pointer to the PdDirectContext_t structure for a direct context, as returned by PdCreateDirectContext().
Library:
ph
Description:
This function puts the application into direct mode. On successful completion of this call, the graphics driver is blocked on the application that's awaiting rendering services. The DirectContext is now the default context for the application.
![]() |
This call blocks until the operation is complete. |
Returns:
A pointer to the previous draw context on success, or NULL on failure.
Examples:
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PdCreateDirectContext(), PdDirectStop(), PdReleaseDirectContext()
"Direct mode" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
