Wait until all emitted draw streams have been processed
void PgWaitDrawComplete( void );
ph
This functions waits until all previously emitted draw streams have been processed by the primary graphics driver.
This function is useful for throttling applications that continually draw. This call prevents the applications from getting ahead of the hardware. To wait until it's safe to reuse a shared memory image, call PgWaitHWIdle().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdSetTargetDevice(), PgWaitHWIdle(), PgWaitVSync()