diff options
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 01b7f01..c8e62d4 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -635,6 +635,16 @@ PUGL_API PuglGlFunc puglGetProcAddress(const char* name); /** + Return the time in seconds. + + This is a monotonically increasing clock with high resolution. The returned + time is only useful to compare against other times returned by this + function, its absolute value has no meaning. +*/ +PUGL_API double +puglGetTime(PuglView* view); + +/** Request a redisplay on the next call to puglProcessEvents(). */ PUGL_API void |