gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.EXT.DrawBuffers2

Contents

Synopsis

Extension Support

gl_EXT_draw_buffers2 :: Bool Source #

Checks that the GL_EXT_draw_buffers2 extension is available.

GL_EXT_draw_buffers2

glColorMaskIndexedEXT :: MonadIO m => GLuint -> GLboolean -> GLboolean -> GLboolean -> GLboolean -> m () Source #

Usage: glColorMaskIndexedEXT index r g b a

The parameter r is a Boolean, one of: GL_FALSE, GL_TRUE.

The parameter g is a Boolean, one of: GL_FALSE, GL_TRUE.

The parameter b is a Boolean, one of: GL_FALSE, GL_TRUE.

The parameter a is a Boolean, one of: GL_FALSE, GL_TRUE.

This command is an alias for glColorMaski.

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

Usage: glDisableIndexedEXT target index

This command is an alias for glDisablei.

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

Usage: glEnableIndexedEXT target index

This command is an alias for glEnablei.

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

Usage: glGetBooleanIndexedvEXT target index data

The parameter data is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of data should be COMPSIZE(target).

This command is an alias for glGetBooleani_v.

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

Usage: glGetIntegerIndexedvEXT target index data

The length of data should be COMPSIZE(target).

This command is an alias for glGetIntegeri_v.

glIsEnabledIndexedEXT :: MonadIO m => GLenum -> GLuint -> m GLboolean Source #

Usage: glIsEnabledIndexedEXT target index

This command is an alias for glIsEnabledi.