Get the ID of the region that emits draw events
PhRid_t PgGetRegion( void ); PhRid_t PgGetRegionCx( void *dc );
ph
These functions get the ID of the region that currently emits draw events.
PgGetRegion() works on the current draw context, while you can specify the draw context for PgGetRegionCx().
The ID of the region.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |