Returns the GF surface id for a given surface
int PgGetSurfaceGFSid ( PgSurface_t * surf, uint32_t * sid );
ph
This function returns the GF surface id (sid) of a given PgSurface_t.
An integer representing the surface ID.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
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