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

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

Graphics.GL.Compatibility30

Contents

Description

 

Synopsis

Types

type GLbitfield = Word32 Source #

32bit bit field.

type GLboolean = Word8 Source #

8bit boolean.

type GLbyte = Int8 Source #

8bit signed two's complement binary integer.

type GLchar = CChar Source #

8bit characters making up strings.

type GLclampd = Double Source #

64bit floating-point value clamped to [0, 1].

type GLclampf = Float Source #

32bit floating-point value clamped to [0, 1].

type GLdouble = Double Source #

64bit floating-point value.

type GLenum = Word32 Source #

32bit enumerated binary integer value.

type GLfloat = Float Source #

32bit floating-point value.

type GLhalf = Half Source #

16bit half-precision floating-point value encoded in an unsigned scalar.

type GLint = Int32 Source #

32bit signed two's complement binary integer.

type GLintptr = CPtrdiff Source #

Pointer-sized signed two's complement binary integer.

type GLshort = Int16 Source #

16bit signed two's complement binary integer.

type GLsizei = Int32 Source #

32bit non-negative binary integer size.

type GLsizeiptr = CPtrdiff Source #

Pointer-sized non-negative binary integer size.

type GLubyte = Word8 Source #

8bit unsigned binary integer.

type GLuint = Word32 Source #

32bit unsigned binary integer.

type GLushort = Word16 Source #

16bit unsigned binary integer.

type GLvoid = () Source #

Not an actual GL type, though used in headers in the past.

Enums

pattern GL_2D :: GLenum Source #

pattern GL_3D :: GLenum Source #

pattern GL_ACCUM :: GLenum Source #

pattern GL_ADD :: GLenum Source #

pattern GL_ALPHA :: GLenum Source #

pattern GL_AND :: GLenum Source #

pattern GL_AUX0 :: GLenum Source #

pattern GL_AUX1 :: GLenum Source #

pattern GL_AUX2 :: GLenum Source #

pattern GL_AUX3 :: GLenum Source #

pattern GL_BACK :: GLenum Source #

pattern GL_BGR :: GLenum Source #

pattern GL_BGRA :: GLenum Source #

pattern GL_BLEND :: GLenum Source #

pattern GL_BLUE :: GLenum Source #

pattern GL_BOOL :: GLenum Source #

pattern GL_BYTE :: GLenum Source #

pattern GL_CCW :: GLenum Source #

pattern GL_CLAMP :: GLenum Source #

pattern GL_CLEAR :: GLenum Source #

pattern GL_COEFF :: GLenum Source #

pattern GL_COLOR :: GLenum Source #

pattern GL_COPY :: GLenum Source #

pattern GL_CW :: GLenum Source #

pattern GL_DECAL :: GLenum Source #

pattern GL_DECR :: GLenum Source #

pattern GL_DEPTH :: GLenum Source #

pattern GL_EQUAL :: GLenum Source #

pattern GL_EQUIV :: GLenum Source #

pattern GL_EXP :: GLenum Source #

pattern GL_EXP2 :: GLenum Source #

pattern GL_FILL :: GLenum Source #

pattern GL_FLAT :: GLenum Source #

pattern GL_FLOAT :: GLenum Source #

pattern GL_FOG :: GLenum Source #

pattern GL_FRONT :: GLenum Source #

pattern GL_GREEN :: GLenum Source #

pattern GL_INCR :: GLenum Source #

pattern GL_INDEX :: GLenum Source #

pattern GL_INT :: GLenum Source #

pattern GL_KEEP :: GLenum Source #

pattern GL_LEFT :: GLenum Source #

pattern GL_LESS :: GLenum Source #

pattern GL_LINE :: GLenum Source #

pattern GL_LINES :: GLenum Source #

pattern GL_LOAD :: GLenum Source #

pattern GL_MAX :: GLenum Source #

pattern GL_MIN :: GLenum Source #

pattern GL_MULT :: GLenum Source #

pattern GL_NAND :: GLenum Source #

pattern GL_NEVER :: GLenum Source #

pattern GL_NONE :: GLenum Source #

pattern GL_NOOP :: GLenum Source #

pattern GL_NOR :: GLenum Source #

pattern GL_ONE :: GLenum Source #

pattern GL_OR :: GLenum Source #

pattern GL_ORDER :: GLenum Source #

pattern GL_POINT :: GLenum Source #

pattern GL_Q :: GLenum Source #

pattern GL_QUADS :: GLenum Source #

pattern GL_R :: GLenum Source #

pattern GL_R16 :: GLenum Source #

pattern GL_R16F :: GLenum Source #

pattern GL_R16I :: GLenum Source #

pattern GL_R16UI :: GLenum Source #

pattern GL_R32F :: GLenum Source #

pattern GL_R32I :: GLenum Source #

pattern GL_R32UI :: GLenum Source #

pattern GL_R8 :: GLenum Source #

pattern GL_R8I :: GLenum Source #

pattern GL_R8UI :: GLenum Source #

pattern GL_RED :: GLenum Source #

pattern GL_RG :: GLenum Source #

pattern GL_RG16 :: GLenum Source #

pattern GL_RG16F :: GLenum Source #

pattern GL_RG16I :: GLenum Source #

pattern GL_RG32F :: GLenum Source #

pattern GL_RG32I :: GLenum Source #

pattern GL_RG8 :: GLenum Source #

pattern GL_RG8I :: GLenum Source #

pattern GL_RG8UI :: GLenum Source #

pattern GL_RGB :: GLenum Source #

pattern GL_RGB10 :: GLenum Source #

pattern GL_RGB12 :: GLenum Source #

pattern GL_RGB16 :: GLenum Source #

pattern GL_RGB4 :: GLenum Source #

pattern GL_RGB5 :: GLenum Source #

pattern GL_RGB8 :: GLenum Source #

pattern GL_RGB8I :: GLenum Source #

pattern GL_RGBA :: GLenum Source #

pattern GL_RGBA2 :: GLenum Source #

pattern GL_RGBA4 :: GLenum Source #

pattern GL_RGBA8 :: GLenum Source #

pattern GL_RIGHT :: GLenum Source #

pattern GL_S :: GLenum Source #

pattern GL_SET :: GLenum Source #

pattern GL_SHORT :: GLenum Source #

pattern GL_SRGB :: GLenum Source #

pattern GL_SRGB8 :: GLenum Source #

pattern GL_T :: GLenum Source #

pattern GL_V2F :: GLenum Source #

pattern GL_V3F :: GLenum Source #

pattern GL_XOR :: GLenum Source #

pattern GL_ZERO :: GLenum Source #

Functions

glAccum Source #

Arguments

:: MonadIO m 
=> GLenum

op of type AccumOp.

-> GLfloat

value of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glAlphaFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type AlphaFunction.

-> GLfloat

ref.

-> m () 

Manual page for OpenGL 2.x.

glAreTexturesResident Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> m GLboolean

of type Boolean.

Manual page for OpenGL 2.x.

glArrayElement Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glAttachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBegin Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> m () 

Manual page for OpenGL 2.x.

glBeginConditionalRender Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

mode of type TypeEnum.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBeginQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> GLuint

id.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBeginTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLenum

primitiveMode of type PrimitiveType.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindAttribLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBindBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBindBufferBase Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

index.

-> GLuint

buffer.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindFragDataLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

color.

-> Ptr GLchar

name pointing to COMPSIZE(name) elements of type GLchar.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindFramebuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLuint

framebuffer.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBindTexture Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLuint

texture of type Texture.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBindVertexArray Source #

Arguments

:: MonadIO m 
=> GLuint

array.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBitmap Source #

Arguments

:: MonadIO m 
=> GLsizei

width.

-> GLsizei

height.

-> GLfloat

xorig of type CoordF.

-> GLfloat

yorig of type CoordF.

-> GLfloat

xmove of type CoordF.

-> GLfloat

ymove of type CoordF.

-> Ptr GLubyte

bitmap pointing to COMPSIZE(width,height) elements of type GLubyte.

-> m () 

Manual page for OpenGL 2.x.

glBlendColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBlendEquation Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type BlendEquationModeEXT.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBlendEquationSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBlendFunc Source #

Arguments

:: MonadIO m 
=> GLenum

sfactor of type BlendingFactor.

-> GLenum

dfactor of type BlendingFactor.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBlendFuncSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

sfactorRGB of type BlendingFactor.

-> GLenum

dfactorRGB of type BlendingFactor.

-> GLenum

sfactorAlpha of type BlendingFactor.

-> GLenum

dfactorAlpha of type BlendingFactor.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBlitFramebuffer Source #

Arguments

:: MonadIO m 
=> GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask of type ClearBufferMask.

-> GLenum

filter of type BlitFramebufferFilter.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glBufferData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCallList Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> m () 

Manual page for OpenGL 2.x.

glCallLists Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> GLenum

type of type ListNameType.

-> Ptr a

lists pointing to COMPSIZE(n,type) elements of type a.

-> m () 

Manual page for OpenGL 2.x.

glCheckFramebufferStatus Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> m GLenum

of type FramebufferStatus.

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClampColor Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ClampColorTargetARB.

-> GLenum

clamp of type ClampColorModeARB.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClear Source #

Arguments

:: MonadIO m 
=> GLbitfield

mask of type ClearBufferMask.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glClearAccum Source #

Arguments

:: MonadIO m 
=> GLfloat

red.

-> GLfloat

green.

-> GLfloat

blue.

-> GLfloat

alpha.

-> m () 

Manual page for OpenGL 2.x.

glClearBufferfi Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> GLfloat

depth.

-> GLint

stencil.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClearBufferfv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLfloat

value pointing to COMPSIZE(buffer) elements of type GLfloat.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClearBufferiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLint

value pointing to COMPSIZE(buffer) elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClearBufferuiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLuint

value pointing to COMPSIZE(buffer) elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glClearColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glClearDepth Source #

Arguments

:: MonadIO m 
=> GLdouble

depth.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glClearIndex Source #

Arguments

:: MonadIO m 
=> GLfloat

c of type MaskedColorIndexValueF.

-> m () 

Manual page for OpenGL 2.x.

glClearStencil Source #

Arguments

:: MonadIO m 
=> GLint

s of type StencilValue.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glClientActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

Manual page for OpenGL 2.x.

glClipPlane Source #

Arguments

:: MonadIO m 
=> GLenum

plane of type ClipPlaneName.

-> Ptr GLdouble

equation pointing to 4 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glColor3b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3bv.

glColor3bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor3d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3dv.

glColor3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor3f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3fv.

glColor3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor3i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3iv.

glColor3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor3s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3sv.

glColor3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor3ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3ubv.

glColor3ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 3 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor3ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3uiv.

glColor3uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 3 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor3us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor3usv.

glColor3usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 3 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColor4b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> GLbyte

alpha of type ColorB.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4bv.

glColor4bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 4 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor4d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> GLdouble

alpha of type ColorD.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4dv.

glColor4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor4f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4fv.

glColor4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor4i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> GLint

alpha of type ColorI.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4iv.

glColor4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor4s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> GLshort

alpha of type ColorS.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4sv.

glColor4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor4ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> GLubyte

alpha of type ColorUB.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4ubv.

glColor4ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 4 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor4ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> GLuint

alpha of type ColorUI.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4uiv.

glColor4uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 4 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor4us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> GLushort

alpha of type ColorUS.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glColor4usv.

glColor4usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 4 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColorMask Source #

Arguments

:: MonadIO m 
=> GLboolean

red of type Boolean.

-> GLboolean

green of type Boolean.

-> GLboolean

blue of type Boolean.

-> GLboolean

alpha of type Boolean.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glColorMaski 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 () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glColorMaterial Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

mode of type ColorMaterialParameter.

-> m () 

Manual page for OpenGL 2.x.

glColorPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type ColorPointerType.

-> GLsizei

stride.

-> Ptr a

pointer pointing to COMPSIZE(size,type,stride) elements of type a.

-> m () 

Manual page for OpenGL 2.x.

glCompileShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCompressedTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCopyPixels Source #

Arguments

:: MonadIO m 
=> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

type of type PixelCopyType.

-> m () 

Manual page for OpenGL 2.x.

glCopyTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCopyTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCopyTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCopyTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCopyTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCreateShader Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ShaderType.

-> m GLuint 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glCullFace Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type CullFaceMode.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteFramebuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDeleteLists Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> GLsizei

range.

-> m () 

Manual page for OpenGL 2.x.

glDeleteProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteQueries Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteRenderbuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDeleteShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteTextures Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDeleteVertexArrays Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDepthFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type DepthFunction.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDepthMask Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDepthRange Source #

Arguments

:: MonadIO m 
=> GLdouble

near.

-> GLdouble

far.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDetachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDisable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDisableClientState Source #

Arguments

:: MonadIO m 
=> GLenum

array of type EnableCap.

-> m () 

Manual page for OpenGL 2.x.

glDisableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDisablei Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDrawArrays Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDrawBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

buf of type DrawBufferMode.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDrawBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLenum

bufs pointing to n elements of type DrawBufferModeATI.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDrawElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indices pointing to COMPSIZE(count,type) elements of type a.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glDrawPixels Source #

Arguments

:: MonadIO m 
=> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

pixels pointing to COMPSIZE(format,type,width,height) elements of type a.

-> m () 

Manual page for OpenGL 2.x.

glDrawRangeElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indices pointing to COMPSIZE(count,type) elements of type a.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glEdgeFlag Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glEdgeFlagv.

glEdgeFlagPointer Source #

Arguments

:: MonadIO m 
=> GLsizei

stride.

-> Ptr a

pointer pointing to COMPSIZE(stride) elements of type a.

-> m () 

Manual page for OpenGL 2.x.

glEdgeFlagv Source #

Arguments

:: MonadIO m 
=> Ptr GLboolean

flag pointing to 1 element of type Boolean.

-> m () 

Manual page for OpenGL 2.x.

glEnable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glEnableClientState Source #

Arguments

:: MonadIO m 
=> GLenum

array of type EnableCap.

-> m () 

Manual page for OpenGL 2.x.

glEnableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glEnablei Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glEnd :: MonadIO m => m () Source #

Manual page for OpenGL 2.x.

glEndConditionalRender :: MonadIO m => m () Source #

Manual pages for OpenGL 3.x or OpenGL 4.x.

glEndList :: MonadIO m => m () Source #

Manual page for OpenGL 2.x.

glEndQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glEndTransformFeedback :: MonadIO m => m () Source #

Manual pages for OpenGL 3.x or OpenGL 4.x.

glEvalCoord1d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glEvalCoord1dv.

glEvalCoord1dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord1f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glEvalCoord1fv.

glEvalCoord1fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> GLdouble

v of type CoordD.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glEvalCoord2dv.

glEvalCoord2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> GLfloat

v of type CoordF.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glEvalCoord2fv.

glEvalCoord2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh1 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode1.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh2 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode2.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> GLint

j1 of type CheckedInt32.

-> GLint

j2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint1 Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint2 Source #

Arguments

:: MonadIO m 
=> GLint

i of type CheckedInt32.

-> GLint

j of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glFeedbackBuffer Source #

Arguments

:: MonadIO m 
=> GLsizei

size.

-> GLenum

type of type FeedbackType.

-> Ptr GLfloat

buffer pointing to size elements of type FeedbackElement.

-> m () 

Manual page for OpenGL 2.x.

glFinish :: MonadIO m => m () Source #

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glFlush :: MonadIO m => m () Source #

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.

glFlushMappedBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glFogCoordPointer Source #

Arguments

:: MonadIO m 
=> GLenum

type of type FogPointerTypeEXT.

-> GLsizei

stride.

-> Ptr a

pointer pointing to COMPSIZE(type,stride) elements of type a.

-> m () 

Manual page for OpenGL 2.x.

glFogCoordd Source #

Arguments

:: MonadIO m 
=> GLdouble

coord of type CoordD.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glFogCoorddv.

glFogCoorddv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

coord pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glFogCoordf Source #

Arguments

:: MonadIO m 
=> GLfloat

coord of type CoordF.

-> m () 

Manual page for OpenGL 2.x. The vector equivalent of this command is glFogCoordfv.

glFogCoordfv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

coord pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glFogf Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glFogfv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glFogi Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glFogiv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glFramebufferRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

renderbuffertarget of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glFramebufferTexture1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget of type TextureTarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glFramebufferTexture2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget of type TextureTarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.