OpenGLRaw21-2.0.0.2: The intersection of OpenGL 2.1 and OpenGL 3.1 Core

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.Core21

Contents

Description

Synopsis

Functions

glActiveTexture

Arguments

:: GLenum

texture of type TextureUnit.

-> IO () 

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

glAttachShader

Arguments

:: GLuint

program.

-> GLuint

shader.

-> IO () 

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

glBeginQuery

Arguments

:: GLenum

target.

-> GLuint

id.

-> IO () 

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

glBindAttribLocation

Arguments

:: GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> IO () 

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

glBindBuffer

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> IO () 

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

glBindTexture

Arguments

:: GLenum

target of type TextureTarget.

-> GLuint

texture of type Texture.

-> IO () 

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

glBlendColor

Arguments

:: GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> IO () 

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

glBlendEquation

Arguments

:: GLenum

mode of type BlendEquationMode.

-> IO () 

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

glBlendEquationSeparate

Arguments

:: GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> IO () 

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

glBlendFunc

Arguments

:: GLenum

sfactor of type BlendingFactorSrc.

-> GLenum

dfactor of type BlendingFactorDest.

-> IO () 

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

glBlendFuncSeparate

Arguments

:: GLenum

sfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

sfactorAlpha of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorAlpha of type BlendFuncSeparateParameterEXT.

-> IO () 

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

glBufferData

Arguments

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

-> IO () 

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

glBufferSubData

Arguments

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

-> IO () 

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

glClear

Arguments

:: GLbitfield

mask of type ClearBufferMask.

-> IO () 

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

glClearColor

Arguments

:: GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> IO () 

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

glClearDepth

Arguments

:: GLdouble

depth.

-> IO () 

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

glClearStencil

Arguments

:: GLint

s of type StencilValue.

-> IO () 

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

glColorMask

Arguments

:: GLboolean

red of type Boolean.

-> GLboolean

green of type Boolean.

-> GLboolean

blue of type Boolean.

-> GLboolean

alpha of type Boolean.

-> IO () 

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

glCompileShader

Arguments

:: GLuint

shader.

-> IO () 

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

glCompressedTexImage1D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

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

glCompressedTexImage2D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

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

glCompressedTexImage3D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

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

glCompressedTexSubImage1D

Arguments

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

-> IO () 

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

glCompressedTexSubImage2D

Arguments

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

-> IO () 

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

glCompressedTexSubImage3D

Arguments

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

-> IO () 

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

glCopyTexImage1D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> IO () 

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

glCopyTexImage2D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> IO () 

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

glCopyTexSubImage1D

Arguments

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

-> IO () 

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

glCopyTexSubImage2D

Arguments

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

-> IO () 

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

glCopyTexSubImage3D

Arguments

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

-> IO () 

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

glCreateShader

Arguments

:: GLenum

type.

-> IO GLuint 

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

glCullFace

Arguments

:: GLenum

mode of type CullFaceMode.

-> IO () 

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

glDeleteBuffers

Arguments

:: GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> IO () 

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

glDeleteProgram

Arguments

:: GLuint

program.

-> IO () 

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

glDeleteQueries

Arguments

:: GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> IO () 

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

glDeleteShader

Arguments

:: GLuint

shader.

-> IO () 

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

glDeleteTextures

Arguments

:: GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> IO () 

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

glDepthFunc

Arguments

:: GLenum

func of type DepthFunction.

-> IO () 

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

glDepthMask

Arguments

:: GLboolean

flag of type Boolean.

-> IO () 

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

glDepthRange

Arguments

:: GLdouble

near.

-> GLdouble

far.

-> IO () 

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

glDetachShader

Arguments

:: GLuint

program.

-> GLuint

shader.

-> IO () 

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

glDisable

Arguments

:: GLenum

cap of type EnableCap.

-> IO () 

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

glDisableVertexAttribArray

Arguments

:: GLuint

index.

-> IO () 

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

glDrawArrays

Arguments

:: GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> IO () 

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

glDrawBuffer

Arguments

:: GLenum

buf of type DrawBufferMode.

-> IO () 

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

glDrawBuffers

Arguments

:: GLsizei

n.

-> Ptr GLenum

bufs pointing to n elements of type DrawBufferModeATI.

-> IO () 

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

glDrawElements

Arguments

:: GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> IO () 

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

glDrawRangeElements

Arguments

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

-> IO () 

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

glEnable

Arguments

:: GLenum

cap of type EnableCap.

-> IO () 

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

glEnableVertexAttribArray

Arguments

:: GLuint

index.

-> IO () 

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

glEndQuery

Arguments

:: GLenum

target.

-> IO () 

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

glFinish :: IO ()

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

glFlush :: IO ()

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

glFrontFace

Arguments

:: GLenum

mode of type FrontFaceDirection.

-> IO () 

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

glGenBuffers

Arguments

:: GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> IO () 

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

glGenQueries

Arguments

:: GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> IO () 

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

glGenTextures

Arguments

:: GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> IO () 

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

glGetActiveAttrib

Arguments

:: GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLint

size pointing to 1 elements of type GLint.

-> Ptr GLenum

type pointing to 1 elements of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetActiveUniform

Arguments

:: GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLint

size pointing to 1 elements of type GLint.

-> Ptr GLenum

type pointing to 1 elements of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetAttachedShaders

Arguments

:: GLuint

program.

-> GLsizei

maxCount.

-> Ptr GLsizei

count pointing to 1 elements of type GLsizei.

-> Ptr GLuint

shaders pointing to maxCount elements of type GLuint.

-> IO () 

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

glGetAttribLocation

Arguments

:: GLuint

program.

-> Ptr GLchar

name.

-> IO GLint 

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

glGetBooleanv

Arguments

:: GLenum

pname of type GetPName.

-> Ptr GLboolean

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

-> IO () 

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

glGetBufferParameteriv

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint

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

-> IO () 

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

glGetBufferPointerv

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPointerNameARB.

-> Ptr (Ptr a)

params pointing to 1 elements of type Ptr a.

-> IO () 

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

glGetBufferSubData

Arguments

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

-> IO () 

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

glGetCompressedTexImage

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> Ptr a

img pointing to COMPSIZE(target,level) elements of type CompressedTextureARB.

-> IO () 

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

glGetDoublev

Arguments

:: GLenum

pname of type GetPName.

-> Ptr GLdouble

data pointing to COMPSIZE(pname) elements of type GLdouble.

-> IO () 

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

glGetError

Arguments

:: IO GLenum

of type ErrorCode.

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

glGetFloatv

Arguments

:: GLenum

pname of type GetPName.

-> Ptr GLfloat

data pointing to COMPSIZE(pname) elements of type GLfloat.

-> IO () 

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

glGetIntegerv

Arguments

:: GLenum

pname of type GetPName.

-> Ptr GLint

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

-> IO () 

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

glGetProgramInfoLog

Arguments

:: GLuint

program.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetProgramiv

Arguments

:: GLuint

program.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetQueryiv

Arguments

:: GLenum

target.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetShaderInfoLog

Arguments

:: GLuint

shader.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetShaderSource

Arguments

:: GLuint

shader.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

source pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetShaderiv

Arguments

:: GLuint

shader.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetString

Arguments

:: GLenum

name of type StringName.

-> IO (Ptr GLubyte)

pointing to elements of type String.

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

glGetTexImage

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

pixels pointing to COMPSIZE(target,level,format,type) elements of type a.

-> IO () 

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

glGetTexParameterfv

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLfloat

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

-> IO () 

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

glGetTexParameteriv

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

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

-> IO () 

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

glGetUniformLocation

Arguments

:: GLuint

program.

-> Ptr GLchar

name.

-> IO GLint 

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

glGetUniformfv

Arguments

:: GLuint

program.

-> GLint

location.

-> Ptr GLfloat

params pointing to COMPSIZE(program,location) elements of type GLfloat.

-> IO () 

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

glGetUniformiv

Arguments

:: GLuint

program.

-> GLint

location.

-> Ptr GLint

params pointing to COMPSIZE(program,location) elements of type GLint.

-> IO () 

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

glGetVertexAttribPointerv

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribPointerPropertyARB.

-> Ptr (Ptr a)

pointer pointing to 1 elements of type Ptr a.

-> IO () 

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

glGetVertexAttribfv

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> IO () 

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

glGetVertexAttribiv

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLint

params pointing to 4 elements of type GLint.

-> IO () 

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

glHint

Arguments

:: GLenum

target of type HintTarget.

-> GLenum

mode of type HintMode.

-> IO () 

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

glIsBuffer

Arguments

:: GLuint

buffer.

-> IO GLboolean

of type Boolean.

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

glIsEnabled

Arguments

:: GLenum

cap of type EnableCap.

-> IO GLboolean

of type Boolean.

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

glIsProgram

Arguments

:: GLuint

program.

-> IO GLboolean

of type Boolean.

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

glIsQuery

Arguments

:: GLuint

id.

-> IO GLboolean

of type Boolean.

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

glIsShader

Arguments

:: GLuint

shader.

-> IO GLboolean

of type Boolean.

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

glIsTexture

Arguments

:: GLuint

texture of type Texture.

-> IO GLboolean

of type Boolean.

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

glLineWidth

Arguments

:: GLfloat

width of type CheckedFloat32.

-> IO () 

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

glLinkProgram

Arguments

:: GLuint

program.

-> IO () 

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

glLogicOp

Arguments

:: GLenum

opcode of type LogicOp.

-> IO () 

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

glMapBuffer

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

access of type BufferAccessARB.

-> IO (Ptr a) 

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

glMultiDrawArrays

Arguments

:: GLenum

mode of type PrimitiveType.

-> Ptr GLint

first pointing to COMPSIZE(count) elements of type GLint.

-> Ptr GLsizei

count pointing to COMPSIZE(drawcount) elements of type GLsizei.

-> GLsizei

drawcount.

-> IO () 

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

glMultiDrawElements

Arguments

:: GLenum

mode of type PrimitiveType.

-> Ptr GLsizei

count pointing to COMPSIZE(drawcount) elements of type GLsizei.

-> GLenum

type of type DrawElementsType.

-> Ptr (Ptr a)

indices pointing to COMPSIZE(drawcount) elements of type Ptr a.

-> GLsizei

drawcount.

-> IO () 

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

glPixelStorei

Arguments

:: GLenum

pname of type PixelStoreParameter.

-> GLint

param of type CheckedInt32.

-> IO () 

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

glPointParameterf

Arguments

:: GLenum

pname of type PointParameterNameARB.

-> GLfloat

param of type CheckedFloat32.

-> IO () 

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

glPointParameterfv

Arguments

:: GLenum

pname of type PointParameterNameARB.

-> Ptr GLfloat

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

-> IO () 

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

glPointSize

Arguments

:: GLfloat

size of type CheckedFloat32.

-> IO () 

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

glPolygonMode

Arguments

:: GLenum

face of type MaterialFace.

-> GLenum

mode of type PolygonMode.

-> IO () 

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

glPolygonOffset

Arguments

:: GLfloat

factor.

-> GLfloat

units.

-> IO () 

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

glReadBuffer

Arguments

:: GLenum

src of type ReadBufferMode.

-> IO () 

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

glReadPixels

Arguments

:: GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

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

-> IO () 

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

glSampleCoverage

Arguments

:: GLfloat

value.

-> GLboolean

invert of type Boolean.

-> IO () 

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

glScissor

Arguments

:: GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> IO () 

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

glShaderSource

Arguments

:: GLuint

shader.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

string pointing to count elements of type Ptr GLchar.

-> Ptr GLint

length pointing to count elements of type GLint.

-> IO () 

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

glStencilFunc

Arguments

:: GLenum

func of type StencilFunction.

-> GLint

ref of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> IO () 

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

glStencilFuncSeparate

Arguments

:: GLenum

face of type StencilFaceDirection.

-> GLenum

func of type StencilFunction.

-> GLint

ref of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> IO () 

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

glStencilMask

Arguments

:: GLuint

mask of type MaskedStencilValue.

-> IO () 

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

glStencilMaskSeparate

Arguments

:: GLenum

face of type StencilFaceDirection.

-> GLuint

mask of type MaskedStencilValue.

-> IO () 

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

glStencilOp

Arguments

:: GLenum

fail of type StencilOp.

-> GLenum

zfail of type StencilOp.

-> GLenum

zpass of type StencilOp.

-> IO () 

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

glStencilOpSeparate

Arguments

:: GLenum

face of type StencilFaceDirection.

-> GLenum

sfail of type StencilOp.

-> GLenum

dpfail of type StencilOp.

-> GLenum

dppass of type StencilOp.

-> IO () 

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

glTexImage1D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type TextureComponentCount.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glTexImage2D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type TextureComponentCount.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glTexImage3D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type TextureComponentCount.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glTexParameterf

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLfloat

param of type CheckedFloat32.

-> IO () 

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

glTexParameterfv

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLfloat

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

-> IO () 

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

glTexParameteri

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLint

param of type CheckedInt32.

-> IO () 

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

glTexParameteriv

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

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

-> IO () 

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

glTexSubImage1D

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glTexSubImage2D

Arguments

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

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glTexSubImage3D

Arguments

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

-> GLenum

type of type PixelType.

-> Ptr a

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

-> IO () 

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

glUniform1f

Arguments

:: GLint

location.

-> GLfloat

v0.

-> IO () 

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

glUniform1fv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*1 elements of type GLfloat.

-> IO () 

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

glUniform1i

Arguments

:: GLint

location.

-> GLint

v0.

-> IO () 

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

glUniform1iv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*1 elements of type GLint.

-> IO () 

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

glUniform2f

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> IO () 

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

glUniform2fv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> IO () 

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

glUniform2i

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> IO () 

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

glUniform2iv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> IO () 

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

glUniform3f

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> IO () 

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

glUniform3fv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> IO () 

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

glUniform3i

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> IO () 

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

glUniform3iv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> IO () 

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

glUniform4f

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> IO () 

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

glUniform4fv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> IO () 

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

glUniform4i

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> IO () 

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

glUniform4iv

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> IO () 

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

glUnmapBuffer

Arguments

:: GLenum

target of type BufferTargetARB.

-> IO GLboolean

of type Boolean.

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

glUseProgram

Arguments

:: GLuint

program.

-> IO () 

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

glValidateProgram

Arguments

:: GLuint

program.

-> IO () 

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

glVertexAttrib1f

Arguments

:: GLuint

index.

-> GLfloat

x.

-> IO () 

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

glVertexAttrib1fv

Arguments

:: GLuint

index.

-> Ptr GLfloat

v pointing to 1 elements of type GLfloat.

-> IO () 

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

glVertexAttrib2f

Arguments

:: GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> IO () 

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

glVertexAttrib2fv

Arguments

:: GLuint

index.

-> Ptr GLfloat

v pointing to 2 elements of type GLfloat.

-> IO () 

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

glVertexAttrib3f

Arguments

:: GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> IO () 

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

glVertexAttrib3fv

Arguments

:: GLuint

index.

-> Ptr GLfloat

v pointing to 3 elements of type GLfloat.

-> IO () 

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

glVertexAttrib4f

Arguments

:: GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> IO () 

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

glVertexAttrib4fv

Arguments

:: GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> IO () 

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

glVertexAttribPointer

Arguments

:: GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLsizei

stride.

-> Ptr a

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

-> IO () 

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

glViewport

Arguments

:: GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> IO () 

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

Constants

Types

type GLbitfield = CUInt

32bit bit field.

type GLboolean = CUChar

8bit boolean.

type GLbyte = CSChar

8bit signed two's complement binary integer.

type GLchar = CChar

8bit characters making up strings.

type GLclampd = CDouble

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

type GLclampf = CFloat

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

type GLdouble = CDouble

64bit floating-point value.

type GLenum = CUInt

32bit enumerated binary integer value.

type GLfloat = CFloat

32bit floating-point value.

type GLint = CInt

32bit signed two's complement binary integer.

type GLintptr = CPtrdiff

Pointer-sized signed two's complement binary integer.

type GLshort = CShort

16bit signed two's complement binary integer.

type GLsizei = CInt

32bit non-negative binary integer size.

type GLsizeiptr = CPtrdiff

Pointer-sized non-negative binary integer size.

type GLubyte = CUChar

8bit unsigned binary integer.

type GLuint = CUInt

32bit unsigned binary integer.

type GLushort = CUShort

16bit unsigned binary integer.