OpenGLRaw-3.2.2.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.OcclusionQuery

Contents

Description

 

Synopsis

Extension Support

glGetARBOcclusionQuery :: MonadIO m => m Bool Source #

Is the ARB_occlusion_query extension supported?

gl_ARB_occlusion_query :: Bool Source #

Is the ARB_occlusion_query extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBOcclusionQuery in those cases instead.

Enums

Functions

glBeginQueryARB Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

id.

-> m () 

This command is an alias for glBeginQuery.

glDeleteQueriesARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

This command is an alias for glDeleteQueries.

glEndQueryARB Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> m () 

This command is an alias for glEndQuery.

glGenQueriesARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

This command is an alias for glGenQueries.

glGetQueryObjectivARB Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

This command is an alias for glGetQueryObjectiv.

glGetQueryObjectuivARB Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname.

-> Ptr GLuint

params pointing to COMPSIZE(pname) elements of type GLuint.

-> m () 

This command is an alias for glGetQueryObjectuiv.

glGetQueryivARB Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

pname.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

This command is an alias for glGetQueryiv.

glIsQueryARB Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> m GLboolean

of type Boolean.

This command is an alias for glIsQuery.