Sign in to follow this  
Quicky

How to use Timers in OpenGL

Recommended Posts

OpenGL is purely a graphics API and thus has no timer functions available. Depending on the windowing API you are using, there are different ways to set up a timer.

For example, with glut you can enable a timer callback using glutTimerFunc().

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this