This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get an offscreen surface handle
PgSurface_t *PtGetOffscreenSurface( PdOffscreenContext_t *osc );
ph
This function gets a handle for an offscreen context surface, which can be used as a color buffer for glSetPhotonRenderSurfaceQNX().
A pointer to an opaque PgSurface_t, or NULL if an error occurred.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdCreateOffscreenContext(), PdOffscreenContext_t
"Video memory offscreen" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide