gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.OcclusionQuery

Synopsis

Extension Support

gl_ARB_occlusion_query :: Bool Source #

Checks that the GL_ARB_occlusion_query extension is available.

GL_ARB_occlusion_query

glBeginQueryARB :: MonadIO m => GLenum -> GLuint -> m () Source #

Usage: glBeginQueryARB target id

This command is an alias for glBeginQuery.

glDeleteQueriesARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glDeleteQueriesARB n ids

The length of ids should be n.

This command is an alias for glDeleteQueries.

glEndQueryARB :: MonadIO m => GLenum -> m () Source #

Usage: glEndQueryARB target

This command is an alias for glEndQuery.

glGenQueriesARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glGenQueriesARB n ids

The length of ids should be n.

This command is an alias for glGenQueries.

glGetQueryObjectivARB :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetQueryObjectivARB id pname params

The length of params should be COMPSIZE(pname).

This command is an alias for glGetQueryObjectiv.

glGetQueryObjectuivARB :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m () Source #

Usage: glGetQueryObjectuivARB id pname params

The length of params should be COMPSIZE(pname).

This command is an alias for glGetQueryObjectuiv.

glGetQueryivARB :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetQueryivARB target pname params

The length of params should be COMPSIZE(pname).

This command is an alias for glGetQueryiv.

glIsQueryARB :: MonadIO m => GLuint -> m GLboolean Source #

Usage: glIsQueryARB id

This command is an alias for glIsQuery.

pattern GL_CURRENT_QUERY_ARB :: (Eq a, Num a) => a Source #

pattern GL_QUERY_COUNTER_BITS_ARB :: (Eq a, Num a) => a Source #

pattern GL_QUERY_RESULT_ARB :: (Eq a, Num a) => a Source #

pattern GL_SAMPLES_PASSED_ARB :: (Eq a, Num a) => a Source #