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

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

Graphics.GL.EXT.DrawBuffers2

Contents

Description

 

Synopsis

Extension Support

glGetEXTDrawBuffers2 :: MonadIO m => m Bool Source #

Is the EXT_draw_buffers2 extension supported?

gl_EXT_draw_buffers2 :: Bool Source #

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

Functions

glColorMaskIndexedEXT Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLboolean

r of type Boolean.

-> GLboolean

g of type Boolean.

-> GLboolean

b of type Boolean.

-> GLboolean

a of type Boolean.

-> m () 

This command is an alias for glColorMaski.

glDisableIndexedEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

This command is an alias for glDisablei.

glEnableIndexedEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

This command is an alias for glEnablei.

glGetBooleanIndexedvEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

index.

-> Ptr GLboolean

data pointing to COMPSIZE(target) elements of type Boolean.

-> m () 

This command is an alias for glGetBooleani_v.

glGetIntegerIndexedvEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLint

data pointing to COMPSIZE(target) elements of type GLint.

-> m () 

This command is an alias for glGetIntegeri_v.

glIsEnabledIndexedEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m GLboolean

of type Boolean.

This command is an alias for glIsEnabledi.