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

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

Graphics.Rendering.OpenGL.Raw.Core32

Contents

Description

 

Synopsis

Types

type GLbitfield = CUInt Source

32bit bit field.

type GLboolean = CUChar Source

8bit boolean.

type GLbyte = CSChar Source

8bit signed two's complement binary integer.

type GLchar = CChar Source

8bit characters making up strings.

type GLclampd = CDouble Source

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

type GLclampf = CFloat Source

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

type GLdouble = CDouble Source

64bit floating-point value.

type GLenum = CUInt Source

32bit enumerated binary integer value.

type GLfloat = CFloat Source

32bit floating-point value.

type GLhalf = CUShort Source

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

type GLint = CInt Source

32bit signed two's complement binary integer.

type GLint64 = Int64 Source

64bit signed two's complement binary integer.

type GLintptr = CPtrdiff Source

Pointer-sized signed two's complement binary integer.

type GLshort = CShort Source

16bit signed two's complement binary integer.

type GLsizei = CInt Source

32bit non-negative binary integer size.

type GLsizeiptr = CPtrdiff Source

Pointer-sized non-negative binary integer size.

type GLsync = Ptr () Source

Pointer-sized sync object handle.

type GLubyte = CUChar Source

8bit unsigned binary integer.

type GLuint = CUInt Source

32bit unsigned binary integer.

type GLuint64 = Word64 Source

64bit unsigned binary integer.

type GLushort = CUShort Source

16bit unsigned binary integer.

type GLvoid = () Source

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

Enums

Functions

glActiveTexture Source

Arguments

:: GLenum

texture of type TextureUnit.

-> IO () 

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

glAttachShader Source

Arguments

:: GLuint

program.

-> GLuint

shader.

-> IO () 

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

glBeginConditionalRender Source

Arguments

:: GLuint

id.

-> GLenum

mode of type TypeEnum.

-> IO () 

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

glBeginQuery Source

Arguments

:: GLenum

target.

-> GLuint

id.

-> IO () 

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

glBeginTransformFeedback Source

Arguments

:: GLenum

primitiveMode.

-> IO () 

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

glBindAttribLocation Source

Arguments

:: GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> IO () 

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

glBindBuffer Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> IO () 

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

glBindBufferBase Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> IO () 

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

glBindBufferRange Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> IO () 

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

glBindFragDataLocation Source

Arguments

:: GLuint

program.

-> GLuint

color.

-> Ptr GLchar

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

-> IO () 

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

glBindFramebuffer Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLuint

framebuffer.

-> IO () 

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

glBindRenderbuffer Source

Arguments

:: GLenum

target of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> IO () 

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

glBindTexture Source

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

glBindVertexArray Source

Arguments

:: GLuint

array.

-> IO () 

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

glBlendColor Source

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 Source

Arguments

:: GLenum

mode of type BlendEquationMode.

-> IO () 

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

glBlendEquationSeparate Source

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 Source

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 Source

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

glBlitFramebuffer Source

Arguments

:: GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask of type ClearBufferMask.

-> GLenum

filter.

-> IO () 

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

glBufferData Source

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 Source

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

glCheckFramebufferStatus Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> IO GLenum 

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

glClampColor Source

Arguments

:: GLenum

target of type ClampColorTargetARB.

-> GLenum

clamp of type ClampColorModeARB.

-> IO () 

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

glClear Source

Arguments

:: GLbitfield

mask of type ClearBufferMask.

-> IO () 

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

glClearBufferfi Source

Arguments

:: GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> GLfloat

depth.

-> GLint

stencil.

-> IO () 

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

glClearBufferfv Source

Arguments

:: GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLfloat

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

-> IO () 

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

glClearBufferiv Source

Arguments

:: GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLint

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

-> IO () 

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

glClearBufferuiv Source

Arguments

:: GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLuint

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

-> IO () 

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

glClearColor Source

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 Source

Arguments

:: GLdouble

depth.

-> IO () 

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

glClearStencil Source

Arguments

:: GLint

s of type StencilValue.

-> IO () 

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

glClientWaitSync Source

Arguments

:: GLsync

sync of type sync.

-> GLbitfield

flags.

-> GLuint64

timeout.

-> IO GLenum 

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

glColorMask Source

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

glColorMaski Source

Arguments

:: GLuint

index.

-> GLboolean

r of type Boolean.

-> GLboolean

g of type Boolean.

-> GLboolean

b of type Boolean.

-> GLboolean

a of type Boolean.

-> IO () 

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

glCompileShader Source

Arguments

:: GLuint

shader.

-> IO () 

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

glCompressedTexImage1D Source

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 Source

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 Source

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 Source

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 Source

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 Source

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

glCopyBufferSubData Source

Arguments

:: GLenum

readTarget.

-> GLenum

writeTarget.

-> GLintptr

readOffset of type BufferOffset.

-> GLintptr

writeOffset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> IO () 

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

glCopyTexImage1D Source

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 Source

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 Source

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 Source

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 Source

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 Source

Arguments

:: GLenum

type.

-> IO GLuint 

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

glCullFace Source

Arguments

:: GLenum

mode of type CullFaceMode.

-> IO () 

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

glDeleteBuffers Source

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

glDeleteFramebuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> IO () 

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

glDeleteProgram Source

Arguments

:: GLuint

program.

-> IO () 

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

glDeleteQueries Source

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

glDeleteRenderbuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> IO () 

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

glDeleteShader Source

Arguments

:: GLuint

shader.

-> IO () 

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

glDeleteSync Source

Arguments

:: GLsync

sync of type sync.

-> IO () 

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

glDeleteTextures Source

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

glDeleteVertexArrays Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> IO () 

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

glDepthFunc Source

Arguments

:: GLenum

func of type DepthFunction.

-> IO () 

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

glDepthMask Source

Arguments

:: GLboolean

flag of type Boolean.

-> IO () 

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

glDepthRange Source

Arguments

:: GLdouble

near.

-> GLdouble

far.

-> IO () 

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

glDetachShader Source

Arguments

:: GLuint

program.

-> GLuint

shader.

-> IO () 

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

glDisable Source

Arguments

:: GLenum

cap of type EnableCap.

-> IO () 

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

glDisableVertexAttribArray Source

Arguments

:: GLuint

index.

-> IO () 

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

glDisablei Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> IO () 

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

glDrawArrays Source

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

glDrawArraysInstanced Source

Arguments

:: GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

instancecount.

-> IO () 

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

glDrawBuffer Source

Arguments

:: GLenum

buf of type DrawBufferMode.

-> IO () 

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

glDrawBuffers Source

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 Source

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

glDrawElementsBaseVertex Source

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.

-> GLint

basevertex.

-> IO () 

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

glDrawElementsInstanced Source

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.

-> GLsizei

instancecount.

-> IO () 

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

glDrawElementsInstancedBaseVertex Source

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.

-> GLsizei

instancecount.

-> GLint

basevertex.

-> IO () 

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

glDrawRangeElements Source

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

glDrawRangeElementsBaseVertex Source

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.

-> GLint

basevertex.

-> IO () 

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

glEnable Source

Arguments

:: GLenum

cap of type EnableCap.

-> IO () 

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

glEnableVertexAttribArray Source

Arguments

:: GLuint

index.

-> IO () 

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

glEnablei Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> IO () 

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

glEndQuery Source

Arguments

:: GLenum

target.

-> IO () 

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

glFenceSync Source

Arguments

:: GLenum

condition.

-> GLbitfield

flags.

-> IO GLsync

of type sync.

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

glFinish :: IO () Source

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

glFlush :: IO () Source

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

glFlushMappedBufferRange Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> IO () 

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

glFramebufferRenderbuffer Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

renderbuffertarget of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> IO () 

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

glFramebufferTexture Source

Arguments

:: GLenum

target.

-> GLenum

attachment.

-> GLuint

texture.

-> GLint

level.

-> IO () 

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

glFramebufferTexture1D Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> IO () 

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

glFramebufferTexture2D Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> IO () 

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

glFramebufferTexture3D Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> GLint

zoffset.

-> IO () 

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

glFramebufferTextureLayer Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLuint

texture of type Texture.

-> GLint

level of type CheckedInt32.

-> GLint

layer of type CheckedInt32.

-> IO () 

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

glFrontFace Source

Arguments

:: GLenum

mode of type FrontFaceDirection.

-> IO () 

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

glGenBuffers Source

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

glGenFramebuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> IO () 

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

glGenQueries Source

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

glGenRenderbuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> IO () 

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

glGenTextures Source

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

glGenVertexArrays Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> IO () 

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

glGenerateMipmap Source

Arguments

:: GLenum

target.

-> IO () 

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

glGetActiveAttrib Source

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 Source

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

glGetActiveUniformBlockName Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

uniformBlockName pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetActiveUniformBlockiv Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetActiveUniformName Source

Arguments

:: GLuint

program.

-> GLuint

uniformIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

uniformName pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetActiveUniformsiv Source

Arguments

:: GLuint

program.

-> GLsizei

uniformCount.

-> Ptr GLuint

uniformIndices pointing to uniformCount elements of type GLuint.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetAttachedShaders Source

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 Source

Arguments

:: GLuint

program.

-> Ptr GLchar

name.

-> IO GLint 

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

glGetBooleani_v Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> Ptr GLboolean

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

-> IO () 

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

glGetBooleanv Source

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

glGetBufferParameteri64v Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint64

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

-> IO () 

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

glGetBufferParameteriv Source

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 Source

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 Source

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 Source

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 Source

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 Source

Arguments

:: IO GLenum

of type ErrorCode.

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

glGetFloatv Source

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

glGetFragDataLocation Source

Arguments

:: GLuint

program.

-> Ptr GLchar

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

-> IO GLint 

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

glGetFramebufferAttachmentParameteriv Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetInteger64i_v Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> Ptr GLint64

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

-> IO () 

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

glGetInteger64v Source

Arguments

:: GLenum

pname.

-> Ptr GLint64

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

-> IO () 

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

glGetIntegeri_v Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> Ptr GLint

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

-> IO () 

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

glGetIntegerv Source

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

glGetMultisamplefv Source

Arguments

:: GLenum

pname.

-> GLuint

index.

-> Ptr GLfloat

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

-> IO () 

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

glGetProgramInfoLog Source

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 Source

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

glGetQueryObjectiv Source

Arguments

:: GLuint

id.

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

glGetQueryObjectuiv Source

Arguments

:: GLuint

id.

-> GLenum

pname.

-> Ptr GLuint

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

-> IO () 

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

glGetQueryiv Source

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

glGetRenderbufferParameteriv Source

Arguments

:: GLenum

target of type RenderbufferTarget.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetShaderInfoLog Source

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 Source

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 Source

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 Source

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

glGetStringi Source

Arguments

:: GLenum

name.

-> GLuint

index.

-> IO (Ptr GLubyte)

pointing to elements of type String.

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

glGetSynciv Source

Arguments

:: GLsync

sync of type sync.

-> GLenum

pname.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLint

values pointing to bufSize elements of type GLint.

-> IO () 

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

glGetTexImage Source

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

glGetTexLevelParameterfv Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

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

glGetTexLevelParameteriv Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

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

glGetTexParameterIiv Source

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 3.x or OpenGL 4.x

glGetTexParameterIuiv Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLuint

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

-> IO () 

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

glGetTexParameterfv Source

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 Source

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

glGetTransformFeedbackVarying Source

Arguments

:: GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLsizei

size pointing to 1 elements of type GLsizei.

-> 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 3.x or OpenGL 4.x

glGetUniformBlockIndex Source

Arguments

:: GLuint

program.

-> Ptr GLchar

uniformBlockName pointing to COMPSIZE() elements of type GLchar.

-> IO GLuint 

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

glGetUniformIndices Source

Arguments

:: GLuint

program.

-> GLsizei

uniformCount.

-> Ptr (Ptr GLchar)

uniformNames pointing to COMPSIZE(uniformCount) elements of type Ptr GLchar.

-> Ptr GLuint

uniformIndices pointing to COMPSIZE(uniformCount) elements of type GLuint.

-> IO () 

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

glGetUniformLocation Source

Arguments

:: GLuint

program.

-> Ptr GLchar

name.

-> IO GLint 

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

glGetUniformfv Source

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 Source

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

glGetUniformuiv Source

Arguments

:: GLuint

program.

-> GLint

location.

-> Ptr GLuint

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

-> IO () 

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

glGetVertexAttribIiv Source

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribEnum.

-> Ptr GLint

params pointing to 1 elements of type GLint.

-> IO () 

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

glGetVertexAttribIuiv Source

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribEnum.

-> Ptr GLuint

params pointing to 1 elements of type GLuint.

-> IO () 

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

glGetVertexAttribPointerv Source

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

glGetVertexAttribdv Source

Arguments

:: GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> IO () 

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

glGetVertexAttribfv Source

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 Source

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 Source

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 Source

Arguments

:: GLuint

buffer.

-> IO GLboolean

of type Boolean.

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

glIsEnabled Source

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

glIsEnabledi Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> IO GLboolean

of type Boolean.

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

glIsFramebuffer Source

Arguments

:: GLuint

framebuffer.

-> IO GLboolean

of type Boolean.

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

glIsProgram Source

Arguments

:: GLuint

program.

-> IO GLboolean

of type Boolean.

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

glIsQuery Source

Arguments

:: GLuint

id.

-> IO GLboolean

of type Boolean.

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

glIsRenderbuffer Source

Arguments

:: GLuint

renderbuffer.

-> IO GLboolean

of type Boolean.

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

glIsShader Source

Arguments

:: GLuint

shader.

-> IO GLboolean

of type Boolean.

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

glIsSync Source

Arguments

:: GLsync

sync of type sync.

-> IO GLboolean

of type Boolean.

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

glIsTexture Source

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

glIsVertexArray Source

Arguments

:: GLuint

array.

-> IO GLboolean

of type Boolean.

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

glLineWidth Source

Arguments

:: GLfloat

width of type CheckedFloat32.

-> IO () 

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

glLinkProgram Source

Arguments

:: GLuint

program.

-> IO () 

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

glLogicOp Source

Arguments

:: GLenum

opcode of type LogicOp.

-> IO () 

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

glMapBuffer Source

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

glMapBufferRange Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> GLbitfield

access of type BufferAccessMask.

-> IO (Ptr a) 

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

glMultiDrawArrays Source

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 Source

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

glMultiDrawElementsBaseVertex Source

Arguments

:: GLenum

mode.

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

-> Ptr GLint

basevertex pointing to COMPSIZE(drawcount) elements of type GLint.

-> IO () 

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

glPixelStoref Source

Arguments

:: GLenum

pname of type PixelStoreParameter.

-> GLfloat

param of type CheckedFloat32.

-> IO () 

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

glPixelStorei Source

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 Source

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 Source

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

glPointParameteri Source

Arguments

:: GLenum

pname of type PointParameterNameARB.

-> GLint

param.

-> IO () 

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

glPointParameteriv Source

Arguments

:: GLenum

pname of type PointParameterNameARB.

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

glPointSize Source

Arguments

:: GLfloat

size of type CheckedFloat32.

-> IO () 

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

glPolygonMode Source

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 Source

Arguments

:: GLfloat

factor.

-> GLfloat

units.

-> IO () 

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

glPrimitiveRestartIndex Source

Arguments

:: GLuint

index.

-> IO () 

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

glProvokingVertex Source

Arguments

:: GLenum

mode.

-> IO () 

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

glReadBuffer Source

Arguments

:: GLenum

src of type ReadBufferMode.

-> IO () 

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

glReadPixels Source

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

glRenderbufferStorage Source

Arguments

:: GLenum

target of type RenderbufferTarget.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> IO () 

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

glRenderbufferStorageMultisample Source

Arguments

:: GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> IO () 

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

glSampleCoverage Source

Arguments

:: GLfloat

value.

-> GLboolean

invert of type Boolean.

-> IO () 

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

glSampleMaski Source

Arguments

:: GLuint

maskNumber.

-> GLbitfield

mask.

-> IO () 

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

glScissor Source

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 Source

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 Source

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 Source

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 Source

Arguments

:: GLuint

mask of type MaskedStencilValue.

-> IO () 

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

glStencilMaskSeparate Source

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 Source

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 Source

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

glTexBuffer Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

internalformat.

-> GLuint

buffer.

-> IO () 

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

glTexImage1D Source

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 Source

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

glTexImage2DMultisample Source

Arguments

:: GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedsamplelocations of type Boolean.

-> IO () 

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

glTexImage3D Source

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

glTexImage3DMultisample Source

Arguments

:: GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedsamplelocations of type Boolean.

-> IO () 

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

glTexParameterIiv Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

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

-> IO () 

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

glTexParameterIuiv Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLuint

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

-> IO () 

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

glTexParameterf Source

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 Source

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 Source

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 Source

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 Source

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 Source

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 Source

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

glTransformFeedbackVaryings Source

Arguments

:: GLuint

program.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

varyings pointing to count elements of type Ptr GLchar.

-> GLenum

bufferMode.

-> IO () 

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

glUniform1f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> IO () 

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

glUniform1fv Source

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 Source

Arguments

:: GLint

location.

-> GLint

v0.

-> IO () 

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

glUniform1iv Source

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

glUniform1ui Source

Arguments

:: GLint

location.

-> GLuint

v0.

-> IO () 

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

glUniform1uiv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*1 elements of type GLuint.

-> IO () 

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

glUniform2f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> IO () 

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

glUniform2fv Source

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 Source

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> IO () 

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

glUniform2iv Source

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

glUniform2ui Source

Arguments

:: GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> IO () 

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

glUniform2uiv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*2 elements of type GLuint.

-> IO () 

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

glUniform3f Source

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 Source

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 Source

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 Source

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

glUniform3ui Source

Arguments

:: GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> IO () 

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

glUniform3uiv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*3 elements of type GLuint.

-> IO () 

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

glUniform4f Source

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 Source

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 Source

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 Source

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

glUniform4ui Source

Arguments

:: GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> GLuint

v3.

-> IO () 

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

glUniform4uiv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*4 elements of type GLuint.

-> IO () 

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

glUniformBlockBinding Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLuint

uniformBlockBinding.

-> IO () 

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

glUniformMatrix2fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

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

glUniformMatrix2x3fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> IO () 

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

glUniformMatrix2x4fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> IO () 

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

glUniformMatrix3fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> IO () 

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

glUniformMatrix3x2fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> IO () 

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

glUniformMatrix3x4fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> IO () 

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

glUniformMatrix4fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> IO () 

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

glUniformMatrix4x2fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> IO () 

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

glUniformMatrix4x3fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> IO () 

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

glUnmapBuffer Source

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 Source

Arguments

:: GLuint

program.

-> IO () 

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

glValidateProgram Source

Arguments

:: GLuint

program.

-> IO () 

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

glVertexAttrib1d Source

Arguments

:: GLuint

index.

-> GLdouble

x.

-> IO () 

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

glVertexAttrib1dv Source

Arguments

:: GLuint

index.

-> Ptr GLdouble

v pointing to 1 elements of type GLdouble.

-> IO () 

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

glVertexAttrib1f Source

Arguments

:: GLuint

index.

-> GLfloat

x.

-> IO () 

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

glVertexAttrib1fv Source

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

glVertexAttrib1s Source

Arguments

:: GLuint

index.

-> GLshort

x.

-> IO () 

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

glVertexAttrib1sv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 1 elements of type GLshort.

-> IO () 

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

glVertexAttrib2d Source

Arguments

:: GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> IO () 

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

glVertexAttrib2dv Source

Arguments

:: GLuint

index.

-> Ptr GLdouble

v pointing to 2 elements of type GLdouble.

-> IO () 

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

glVertexAttrib2f Source

Arguments

:: GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> IO () 

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

glVertexAttrib2fv Source

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

glVertexAttrib2s Source

Arguments

:: GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> IO () 

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

glVertexAttrib2sv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 2 elements of type GLshort.

-> IO () 

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

glVertexAttrib3d Source

Arguments

:: GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> IO () 

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

glVertexAttrib3dv Source

Arguments

:: GLuint

index.

-> Ptr GLdouble

v pointing to 3 elements of type GLdouble.

-> IO () 

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

glVertexAttrib3f Source

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 Source

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

glVertexAttrib3s Source

Arguments

:: GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> IO () 

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

glVertexAttrib3sv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 3 elements of type GLshort.

-> IO () 

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

glVertexAttrib4Nbv Source

Arguments

:: GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> IO () 

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

glVertexAttrib4Niv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> IO () 

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

glVertexAttrib4Nsv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> IO () 

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

glVertexAttrib4Nub Source

Arguments

:: GLuint

index.

-> GLubyte

x.

-> GLubyte

y.

-> GLubyte

z.

-> GLubyte

w.

-> IO () 

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

glVertexAttrib4Nubv Source

Arguments

:: GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> IO () 

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

glVertexAttrib4Nuiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> IO () 

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

glVertexAttrib4Nusv Source

Arguments

:: GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> IO () 

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

glVertexAttrib4bv Source

Arguments

:: GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> IO () 

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

glVertexAttrib4d Source

Arguments

:: GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> IO () 

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

glVertexAttrib4dv Source

Arguments

:: GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> IO () 

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

glVertexAttrib4f Source

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 Source

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

glVertexAttrib4iv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> IO () 

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

glVertexAttrib4s Source

Arguments

:: GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> GLshort

w.

-> IO () 

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

glVertexAttrib4sv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> IO () 

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

glVertexAttrib4ubv Source

Arguments

:: GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> IO () 

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

glVertexAttrib4uiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> IO () 

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

glVertexAttrib4usv Source

Arguments

:: GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> IO () 

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

glVertexAttribI1i Source

Arguments

:: GLuint

index.

-> GLint

x.

-> IO () 

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

glVertexAttribI1iv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 1 elements of type GLint.

-> IO () 

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

glVertexAttribI1ui Source

Arguments

:: GLuint

index.

-> GLuint

x.

-> IO () 

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

glVertexAttribI1uiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 1 elements of type GLuint.

-> IO () 

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

glVertexAttribI2i Source

Arguments

:: GLuint

index.

-> GLint

x.

-> GLint

y.

-> IO () 

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

glVertexAttribI2iv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 2 elements of type GLint.

-> IO () 

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

glVertexAttribI2ui Source

Arguments

:: GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> IO () 

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

glVertexAttribI2uiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 2 elements of type GLuint.

-> IO () 

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

glVertexAttribI3i Source

Arguments

:: GLuint

index.

-> GLint

x.

-> GLint

y.

-> GLint

z.

-> IO () 

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

glVertexAttribI3iv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 3 elements of type GLint.

-> IO () 

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

glVertexAttribI3ui Source

Arguments

:: GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> GLuint

z.

-> IO () 

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

glVertexAttribI3uiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 3 elements of type GLuint.

-> IO () 

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

glVertexAttribI4bv Source

Arguments

:: GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> IO () 

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

glVertexAttribI4i Source

Arguments

:: GLuint

index.

-> GLint

x.

-> GLint

y.

-> GLint

z.

-> GLint

w.

-> IO () 

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

glVertexAttribI4iv Source

Arguments

:: GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> IO () 

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

glVertexAttribI4sv Source

Arguments

:: GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> IO () 

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

glVertexAttribI4ubv Source

Arguments

:: GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> IO () 

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

glVertexAttribI4ui Source

Arguments

:: GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> GLuint

z.

-> GLuint

w.

-> IO () 

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

glVertexAttribI4uiv Source

Arguments

:: GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> IO () 

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

glVertexAttribI4usv Source

Arguments

:: GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> IO () 

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

glVertexAttribIPointer Source

Arguments

:: GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribEnum.

-> GLsizei

stride.

-> Ptr a

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

-> IO () 

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

glVertexAttribPointer Source

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 Source

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

glWaitSync Source

Arguments

:: GLsync

sync of type sync.

-> GLbitfield

flags.

-> GLuint64

timeout.

-> IO () 

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