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

Copyright(c) Sven Panne 2019
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 of type QueryTarget.

-> 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 of type QueryObjectParameterName.

-> 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 of type QueryObjectParameterName.

-> 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 of type QueryTarget.

-> GLenum

pname of type QueryParameterName.

-> 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.