PgGetSurfaceGFSid()

Returns the GF surface id for a given surface

Synopsis:

int PgGetSurfaceGFSid (
                        PgSurface_t * surf,
                        uint32_t * sid  );

Arguments:

surf
A handle to a surface.
sid
The id of the surface.

Library:

ph

Description:

This function returns the GF surface id (sid) of a given PgSurface_t.

Returns:

An integer representing the surface ID.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateOffscreenContextGF(), PdDupOffscreenContext(), PdGetOffscreenContextPtr(), PdOffscreenContext_t, PdSetOffscreenTranslation(), PdSetTargetDevice(), PgContextBlit(), PgSwapDisplay(), PhDCCreate(), PhDCRelease()

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