Jump to navigation Jump to search
- void FrameWait(bool bLock)
Allows a thread to yield processing time until the following frame (thusly allowing the game to complete the present frame and begin operating on a new frame), optionally retaining a frame lock during the new frame.
- bool bLock
- When set to true, FrameLock is implicitly called upon the new frame.
- Example code
pISInterface->FrameWait(true); /* Safe to assume all game objects still exist until FrameUnlock is called */ ... do stuff here pISInterface->FrameUnlock();