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.

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