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

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PdGetOffscreenSurface()

Get an offscreen surface handle

Synopsis:

PgSurface_t *PtGetOffscreenSurface(
   PdOffscreenContext_t *osc );

Arguments:

osc
A pointer to an offscreen context structure, as returned by PdCreateOffscreenContext().

Library:

ph

Description:

This function gets a handle for an offscreen context surface, which can be used as a color buffer for glSetPhotonRenderSurfaceQNX().

Returns:

A pointer to an opaque PgSurface_t, or NULL if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateOffscreenContext(), PdOffscreenContext_t

"Video memory offscreen" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


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