Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBTimerQuery :: MonadIO m => m Bool
- gl_ARB_timer_query :: Bool
- pattern GL_TIMESTAMP :: GLenum
- pattern GL_TIME_ELAPSED :: GLenum
- glGetQueryObjecti64v :: MonadIO m => GLuint -> GLenum -> Ptr GLint64 -> m ()
- glGetQueryObjectui64v :: MonadIO m => GLuint -> GLenum -> Ptr GLuint64 -> m ()
- glQueryCounter :: MonadIO m => GLuint -> GLenum -> m ()
Extension Support
glGetARBTimerQuery :: MonadIO m => m Bool Source #
Is the ARB_timer_query extension supported?
gl_ARB_timer_query :: Bool Source #
Is the ARB_timer_query extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBTimerQuery
in those cases instead.
Enums
pattern GL_TIMESTAMP :: GLenum Source #
pattern GL_TIME_ELAPSED :: GLenum Source #
Functions
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLint64 |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
glGetQueryObjectui64v Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLuint64 |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
Manual pages for OpenGL 3.x or OpenGL 4.x.