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

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

Graphics.GL.Core32

Contents

Description

 

Synopsis

Types

type GLbitfield = Word32 Source #

32bit bit field.

type GLboolean = Word8 Source #

8bit boolean.

type GLbyte = Int8 Source #

8bit signed two's complement binary integer.

type GLchar = CChar Source #

8bit characters making up strings.

type GLclampd = Double Source #

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

type GLclampf = Float Source #

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

type GLdouble = Double Source #

64bit floating-point value.

type GLenum = Word32 Source #

32bit enumerated binary integer value.

type GLfloat = Float Source #

32bit floating-point value.

type GLhalf = Half Source #

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

type GLint = Int32 Source #

32bit signed two's complement binary integer.

type GLint64 = Int64 Source #

64bit signed two's complement binary integer.

type GLintptr = CPtrdiff Source #

Pointer-sized signed two's complement binary integer.

type GLshort = Int16 Source #

16bit signed two's complement binary integer.

type GLsizei = Int32 Source #

32bit non-negative binary integer size.

type GLsizeiptr = CPtrdiff Source #

Pointer-sized non-negative binary integer size.

type GLsync = Ptr () Source #

Pointer-sized sync object handle.

type GLubyte = Word8 Source #

8bit unsigned binary integer.

type GLuint = Word32 Source #

32bit unsigned binary integer.

type GLuint64 = Word64 Source #

64bit unsigned binary integer.

type GLushort = Word16 Source #

16bit unsigned binary integer.

type GLvoid = () Source #

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

Enums

pattern GL_ALPHA :: GLenum Source #

pattern GL_AND :: GLenum Source #

pattern GL_BACK :: GLenum Source #

pattern GL_BGR :: GLenum Source #

pattern GL_BGRA :: GLenum Source #

pattern GL_BLEND :: GLenum Source #

pattern GL_BLUE :: GLenum Source #

pattern GL_BOOL :: GLenum Source #

pattern GL_BYTE :: GLenum Source #

pattern GL_CCW :: GLenum Source #

pattern GL_CLEAR :: GLenum Source #

pattern GL_COLOR :: GLenum Source #

pattern GL_COPY :: GLenum Source #

pattern GL_CW :: GLenum Source #

pattern GL_DECR :: GLenum Source #

pattern GL_DEPTH :: GLenum Source #

pattern GL_EQUAL :: GLenum Source #

pattern GL_EQUIV :: GLenum Source #

pattern GL_FILL :: GLenum Source #

pattern GL_FLOAT :: GLenum Source #

pattern GL_FRONT :: GLenum Source #

pattern GL_GREEN :: GLenum Source #

pattern GL_INCR :: GLenum Source #

pattern GL_INT :: GLenum Source #

pattern GL_KEEP :: GLenum Source #

pattern GL_LEFT :: GLenum Source #

pattern GL_LESS :: GLenum Source #

pattern GL_LINE :: GLenum Source #

pattern GL_LINES :: GLenum Source #

pattern GL_MAX :: GLenum Source #

pattern GL_MIN :: GLenum Source #

pattern GL_NAND :: GLenum Source #

pattern GL_NEVER :: GLenum Source #

pattern GL_NONE :: GLenum Source #

pattern GL_NOOP :: GLenum Source #

pattern GL_NOR :: GLenum Source #

pattern GL_ONE :: GLenum Source #

pattern GL_OR :: GLenum Source #

pattern GL_POINT :: GLenum Source #

pattern GL_R16 :: GLenum Source #

pattern GL_R16F :: GLenum Source #

pattern GL_R16I :: GLenum Source #

pattern GL_R16UI :: GLenum Source #

pattern GL_R32F :: GLenum Source #

pattern GL_R32I :: GLenum Source #

pattern GL_R32UI :: GLenum Source #

pattern GL_R8 :: GLenum Source #

pattern GL_R8I :: GLenum Source #

pattern GL_R8UI :: GLenum Source #

pattern GL_RED :: GLenum Source #

pattern GL_RG :: GLenum Source #

pattern GL_RG16 :: GLenum Source #

pattern GL_RG16F :: GLenum Source #

pattern GL_RG16I :: GLenum Source #

pattern GL_RG32F :: GLenum Source #

pattern GL_RG32I :: GLenum Source #

pattern GL_RG8 :: GLenum Source #

pattern GL_RG8I :: GLenum Source #

pattern GL_RG8UI :: GLenum Source #

pattern GL_RGB :: GLenum Source #

pattern GL_RGB10 :: GLenum Source #

pattern GL_RGB12 :: GLenum Source #

pattern GL_RGB16 :: GLenum Source #

pattern GL_RGB4 :: GLenum Source #

pattern GL_RGB5 :: GLenum Source #

pattern GL_RGB8 :: GLenum Source #

pattern GL_RGB8I :: GLenum Source #

pattern GL_RGBA :: GLenum Source #

pattern GL_RGBA2 :: GLenum Source #

pattern GL_RGBA4 :: GLenum Source #

pattern GL_RGBA8 :: GLenum Source #

pattern GL_RIGHT :: GLenum Source #

pattern GL_SET :: GLenum Source #

pattern GL_SHORT :: GLenum Source #

pattern GL_SRGB :: GLenum Source #

pattern GL_SRGB8 :: GLenum Source #

pattern GL_XOR :: GLenum Source #

pattern GL_ZERO :: GLenum Source #

Functions

glActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

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

glAttachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

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

glBeginConditionalRender Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

mode of type TypeEnum.

-> m () 

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

glBeginQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

id.

-> m () 

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

glBeginTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLenum

primitiveMode.

-> m () 

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

glBindAttribLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> m () 

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

glBindBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> m () 

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

glBindBufferBase Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> m () 

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

glBindBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

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

glBindFragDataLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

color.

-> Ptr GLchar

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

-> m () 

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

glBindFramebuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLuint

framebuffer.

-> m () 

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

glBindRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> m () 

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

glBindTexture Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLuint

texture of type Texture.

-> m () 

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

glBindVertexArray Source #

Arguments

:: MonadIO m 
=> GLuint

array.

-> m () 

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

glBlendColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glBlendEquation Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type BlendEquationMode.

-> m () 

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

glBlendEquationSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> m () 

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

glBlendFunc Source #

Arguments

:: MonadIO m 
=> GLenum

sfactor of type BlendingFactorSrc.

-> GLenum

dfactor of type BlendingFactorDest.

-> m () 

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

glBlendFuncSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

sfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

sfactorAlpha of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorAlpha of type BlendFuncSeparateParameterEXT.

-> m () 

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

glBlitFramebuffer Source #

Arguments

:: MonadIO m 
=> GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask of type ClearBufferMask.

-> GLenum

filter.

-> m () 

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

glBufferData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> m () 

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

glBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> m () 

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

glCheckFramebufferStatus Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> m GLenum 

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

glClampColor Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ClampColorTargetARB.

-> GLenum

clamp of type ClampColorModeARB.

-> m () 

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

glClear Source #

Arguments

:: MonadIO m 
=> GLbitfield

mask of type ClearBufferMask.

-> m () 

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

glClearBufferfi Source #

Arguments

:: MonadIO m 
=> GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> GLfloat

depth.

-> GLint

stencil.

-> m () 

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

glClearBufferfv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLfloat

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

-> m () 

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

glClearBufferiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLint

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

-> m () 

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

glClearBufferuiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLuint

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

-> m () 

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

glClearColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glClearDepth Source #

Arguments

:: MonadIO m 
=> GLdouble

depth.

-> m () 

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

glClearStencil Source #

Arguments

:: MonadIO m 
=> GLint

s of type StencilValue.

-> m () 

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

glClientWaitSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLbitfield

flags.

-> GLuint64

timeout.

-> m GLenum 

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

glColorMask Source #

Arguments

:: MonadIO m 
=> GLboolean

red of type Boolean.

-> GLboolean

green of type Boolean.

-> GLboolean

blue of type Boolean.

-> GLboolean

alpha of type Boolean.

-> m () 

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

glColorMaski Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLboolean

r of type Boolean.

-> GLboolean

g of type Boolean.

-> GLboolean

b of type Boolean.

-> GLboolean

a of type Boolean.

-> m () 

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

glCompileShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m () 

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

glCompressedTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCopyBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

readTarget.

-> GLenum

writeTarget.

-> GLintptr

readOffset of type BufferOffset.

-> GLintptr

writeOffset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

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

glCopyTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

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

glCopyTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glCopyTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glCreateShader Source #

Arguments

:: MonadIO m 
=> GLenum

type.

-> m GLuint 

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

glCullFace Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type CullFaceMode.

-> m () 

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

glDeleteBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

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

glDeleteFramebuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> m () 

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

glDeleteProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

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

glDeleteQueries Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

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

glDeleteRenderbuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> m () 

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

glDeleteShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m () 

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

glDeleteSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> m () 

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

glDeleteTextures Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> m () 

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

glDeleteVertexArrays Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> m () 

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

glDepthFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type DepthFunction.

-> m () 

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

glDepthMask Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

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

glDepthRange Source #

Arguments

:: MonadIO m 
=> GLdouble

near.

-> GLdouble

far.

-> m () 

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

glDetachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

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

glDisable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

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

glDisableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glDisablei Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> m () 

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

glDrawArrays Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> m () 

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

glDrawArraysInstanced Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

instancecount.

-> m () 

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

glDrawBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

buf of type DrawBufferMode.

-> m () 

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

glDrawBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLenum

bufs pointing to n elements of type DrawBufferModeATI.

-> m () 

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

glDrawElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> m () 

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

glDrawElementsBaseVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLint

basevertex.

-> m () 

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

glDrawElementsInstanced Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLsizei

instancecount.

-> m () 

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

glDrawElementsInstancedBaseVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLsizei

instancecount.

-> GLint

basevertex.

-> m () 

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

glDrawRangeElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> m () 

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

glDrawRangeElementsBaseVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLint

basevertex.

-> m () 

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

glEnable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

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

glEnableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glEnablei Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> m () 

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

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

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

glEndQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> m () 

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

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

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

glFenceSync Source #

Arguments

:: MonadIO m 
=> GLenum

condition.

-> GLbitfield

flags.

-> m GLsync

of type sync.

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

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

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

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

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

glFlushMappedBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> m () 

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

glFramebufferRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

renderbuffertarget of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> m () 

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

glFramebufferTexture Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

attachment.

-> GLuint

texture.

-> GLint

level.

-> m () 

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

glFramebufferTexture1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

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

glFramebufferTexture2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

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

glFramebufferTexture3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget.

-> GLuint

texture.

-> GLint

level.

-> GLint

zoffset.

-> m () 

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

glFramebufferTextureLayer Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glFrontFace Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type FrontFaceDirection.

-> m () 

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

glGenBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

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

glGenFramebuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> m () 

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

glGenQueries Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

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

glGenRenderbuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> m () 

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

glGenTextures Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> m () 

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

glGenVertexArrays Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> m () 

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

glGenerateMipmap Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> m () 

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

glGetActiveAttrib Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

size pointing to 1 element of type GLint.

-> Ptr GLenum

type pointing to 1 element of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniform Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

size pointing to 1 element of type GLint.

-> Ptr GLenum

type pointing to 1 element of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniformBlockName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

uniformBlockName pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniformBlockiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetActiveUniformName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

uniformName pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniformsiv Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetAttachedShaders Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLsizei

maxCount.

-> Ptr GLsizei

count pointing to 1 element of type GLsizei.

-> Ptr GLuint

shaders pointing to maxCount elements of type GLuint.

-> m () 

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

glGetAttribLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

name.

-> m GLint 

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

glGetBooleani_v Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLboolean

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

-> m () 

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

glGetBooleanv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLboolean

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

-> m () 

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

glGetBufferParameteri64v Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint64

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

-> m () 

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

glGetBufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint

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

-> m () 

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

glGetBufferPointerv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPointerNameARB.

-> Ptr (Ptr a)

params pointing to 1 element of type Ptr a.

-> m () 

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

glGetBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> m () 

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

glGetCompressedTexImage Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> Ptr a

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

-> m () 

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

glGetDoublev Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLdouble

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

-> m () 

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

glGetError Source #

Arguments

:: MonadIO m 
=> m GLenum

of type ErrorCode.

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

glGetFloatv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLfloat

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

-> m () 

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

glGetFragDataLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

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

-> m GLint 

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

glGetFramebufferAttachmentParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetInteger64i_v Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLint64

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

-> m () 

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

glGetInteger64v Source #

Arguments

:: MonadIO m 
=> GLenum

pname.

-> Ptr GLint64

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

-> m () 

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

glGetIntegeri_v Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLint

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

-> m () 

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

glGetIntegerv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLint

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

-> m () 

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

glGetMultisamplefv Source #

Arguments

:: MonadIO m 
=> GLenum

pname.

-> GLuint

index.

-> Ptr GLfloat

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

-> m () 

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

glGetProgramInfoLog Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> m () 

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

glGetProgramiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetQueryObjectiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetQueryObjectuiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname.

-> Ptr GLuint

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

-> m () 

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

glGetQueryiv Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetRenderbufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetShaderInfoLog Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> m () 

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

glGetShaderSource Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

source pointing to bufSize elements of type GLchar.

-> m () 

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

glGetShaderiv Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetString Source #

Arguments

:: MonadIO m 
=> GLenum

name of type StringName.

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

:: MonadIO m 
=> GLenum

name.

-> GLuint

index.

-> m (Ptr GLubyte)

pointing to elements of type String.

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

glGetSynciv Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLenum

pname.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

values pointing to bufSize elements of type GLint.

-> m () 

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

glGetTexImage Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetTexLevelParameterfv Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetTexLevelParameteriv Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetTexParameterIiv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

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

-> m () 

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

glGetTexParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLuint

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

-> m () 

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

glGetTexParameterfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLfloat

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

-> m () 

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

glGetTexParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

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

-> m () 

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

glGetTransformFeedbackVarying Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLsizei

size pointing to 1 element of type GLsizei.

-> Ptr GLenum

type pointing to 1 element of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> m () 

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

glGetUniformBlockIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

uniformBlockName pointing to COMPSIZE() elements of type GLchar.

-> m GLuint 

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

glGetUniformIndices Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetUniformLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

name.

-> m GLint 

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

glGetUniformfv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> Ptr GLfloat

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

-> m () 

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

glGetUniformiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> Ptr GLint

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

-> m () 

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

glGetUniformuiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> Ptr GLuint

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

-> m () 

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

glGetVertexAttribIiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnum.

-> Ptr GLint

params pointing to 1 element of type GLint.

-> m () 

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

glGetVertexAttribIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnum.

-> Ptr GLuint

params pointing to 1 element of type GLuint.

-> m () 

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

glGetVertexAttribPointerv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPointerPropertyARB.

-> Ptr (Ptr a)

pointer pointing to 1 element of type Ptr a.

-> m () 

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

glGetVertexAttribdv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

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

glGetVertexAttribfv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

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

glGetVertexAttribiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLint

params pointing to 4 elements of type GLint.

-> m () 

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

glHint Source #

Arguments

:: MonadIO m 
=> GLenum

target of type HintTarget.

-> GLenum

mode of type HintMode.

-> m () 

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

glIsBuffer Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> m GLboolean

of type Boolean.

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

glIsEnabled Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m GLboolean

of type Boolean.

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

glIsEnabledi Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> m GLboolean

of type Boolean.

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

glIsFramebuffer Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> m GLboolean

of type Boolean.

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

glIsProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m GLboolean

of type Boolean.

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

glIsQuery Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> m GLboolean

of type Boolean.

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

glIsRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> m GLboolean

of type Boolean.

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

glIsShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m GLboolean

of type Boolean.

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

glIsSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> m GLboolean

of type Boolean.

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

glIsTexture Source #

Arguments

:: MonadIO m 
=> GLuint

texture of type Texture.

-> m GLboolean

of type Boolean.

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

glIsVertexArray Source #

Arguments

:: MonadIO m 
=> GLuint

array.

-> m GLboolean

of type Boolean.

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

glLineWidth Source #

Arguments

:: MonadIO m 
=> GLfloat

width of type CheckedFloat32.

-> m () 

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

glLinkProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

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

glLogicOp Source #

Arguments

:: MonadIO m 
=> GLenum

opcode of type LogicOp.

-> m () 

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

glMapBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

access of type BufferAccessARB.

-> m (Ptr a) 

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

glMapBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> GLbitfield

access of type BufferAccessMask.

-> m (Ptr a) 

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

glMultiDrawArrays Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glMultiDrawElements Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glMultiDrawElementsBaseVertex Source #

Arguments

:: MonadIO m 
=> 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.

-> Ptr GLint

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

-> m () 

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

glPixelStoref Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PixelStoreParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

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

glPixelStorei Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PixelStoreParameter.

-> GLint

param of type CheckedInt32.

-> m () 

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

glPointParameterf Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PointParameterNameARB.

-> GLfloat

param of type CheckedFloat32.

-> m () 

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

glPointParameterfv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PointParameterNameARB.

-> Ptr GLfloat

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

-> m () 

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

glPointParameteri Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PointParameterNameARB.

-> GLint

param.

-> m () 

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

glPointParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PointParameterNameARB.

-> Ptr GLint

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

-> m () 

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

glPointSize Source #

Arguments

:: MonadIO m 
=> GLfloat

size of type CheckedFloat32.

-> m () 

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

glPolygonMode Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

mode of type PolygonMode.

-> m () 

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

glPolygonOffset Source #

Arguments

:: MonadIO m 
=> GLfloat

factor.

-> GLfloat

units.

-> m () 

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

glPrimitiveRestartIndex Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glProvokingVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode.

-> m () 

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

glReadBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

src of type ReadBufferMode.

-> m () 

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

glReadPixels Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glRenderbufferStorage Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glRenderbufferStorageMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glSampleCoverage Source #

Arguments

:: MonadIO m 
=> GLfloat

value.

-> GLboolean

invert of type Boolean.

-> m () 

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

glSampleMaski Source #

Arguments

:: MonadIO m 
=> GLuint

maskNumber.

-> GLbitfield

mask.

-> m () 

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

glScissor Source #

Arguments

:: MonadIO m 
=> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glShaderSource Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glStencilFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type StencilFunction.

-> GLint

ref of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

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

glStencilFuncSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

face of type StencilFaceDirection.

-> GLenum

func of type StencilFunction.

-> GLint

ref of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

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

glStencilMask Source #

Arguments

:: MonadIO m 
=> GLuint

mask of type MaskedStencilValue.

-> m () 

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

glStencilMaskSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

face of type StencilFaceDirection.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

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

glStencilOp Source #

Arguments

:: MonadIO m 
=> GLenum

fail of type StencilOp.

-> GLenum

zfail of type StencilOp.

-> GLenum

zpass of type StencilOp.

-> m () 

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

glStencilOpSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

face of type StencilFaceDirection.

-> GLenum

sfail of type StencilOp.

-> GLenum

dpfail of type StencilOp.

-> GLenum

dppass of type StencilOp.

-> m () 

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

glTexBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

internalformat.

-> GLuint

buffer.

-> m () 

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

glTexImage1D Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glTexImage2D Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glTexImage2DMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

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

glTexImage3D Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glTexImage3DMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

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

glTexParameterIiv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

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

-> m () 

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

glTexParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLuint

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

-> m () 

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

glTexParameterf Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLfloat

param of type CheckedFloat32.

-> m () 

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

glTexParameterfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLfloat

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

-> m () 

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

glTexParameteri Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLint

param of type CheckedInt32.

-> m () 

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

glTexParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

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

-> m () 

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

glTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTransformFeedbackVaryings Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

varyings pointing to count elements of type Ptr GLchar.

-> GLenum

bufferMode.

-> m () 

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

glUniform1f Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> m () 

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

glUniform1fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*1 elements of type GLfloat.

-> m () 

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

glUniform1i Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> m () 

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

glUniform1iv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*1 elements of type GLint.

-> m () 

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

glUniform1ui Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLuint

v0.

-> m () 

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

glUniform1uiv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*1 elements of type GLuint.

-> m () 

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

glUniform2f Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> m () 

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

glUniform2fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> m () 

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

glUniform2i Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> m () 

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

glUniform2iv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> m () 

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

glUniform2ui Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> m () 

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

glUniform2uiv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*2 elements of type GLuint.

-> m () 

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

glUniform3f Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> m () 

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

glUniform3fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> m () 

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

glUniform3i Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> m () 

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

glUniform3iv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> m () 

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

glUniform3ui Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> m () 

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

glUniform3uiv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*3 elements of type GLuint.

-> m () 

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

glUniform4f Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> m () 

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

glUniform4fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

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

glUniform4i Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> m () 

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

glUniform4iv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> m () 

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

glUniform4ui Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> GLuint

v3.

-> m () 

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

glUniform4uiv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*4 elements of type GLuint.

-> m () 

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

glUniformBlockBinding Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLuint

uniformBlockBinding.

-> m () 

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

glUniformMatrix2fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

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

glUniformMatrix2x3fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

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

glUniformMatrix2x4fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

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

glUniformMatrix3fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> m () 

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

glUniformMatrix3x2fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

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

glUniformMatrix3x4fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

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

glUniformMatrix4fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> m () 

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

glUniformMatrix4x2fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

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

glUniformMatrix4x3fv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

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

glUnmapBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> m GLboolean

of type Boolean.

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

glUseProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

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

glValidateProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

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

glVertexAttrib1d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib1dv.

glVertexAttrib1dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 1 element of type GLdouble.

-> m () 

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

glVertexAttrib1f Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib1fv.

glVertexAttrib1fv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 1 element of type GLfloat.

-> m () 

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

glVertexAttrib1s Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib1sv.

glVertexAttrib1sv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 1 element of type GLshort.

-> m () 

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

glVertexAttrib2d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib2dv.

glVertexAttrib2dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 2 elements of type GLdouble.

-> m () 

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

glVertexAttrib2f Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib2fv.

glVertexAttrib2fv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 2 elements of type GLfloat.

-> m () 

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

glVertexAttrib2s Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib2sv.

glVertexAttrib2sv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 2 elements of type GLshort.

-> m () 

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

glVertexAttrib3d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib3dv.

glVertexAttrib3dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 3 elements of type GLdouble.

-> m () 

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

glVertexAttrib3f Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib3fv.

glVertexAttrib3fv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 3 elements of type GLfloat.

-> m () 

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

glVertexAttrib3s Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib3sv.

glVertexAttrib3sv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 3 elements of type GLshort.

-> m () 

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

glVertexAttrib4Nbv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> m () 

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

glVertexAttrib4Niv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

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

glVertexAttrib4Nsv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

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

glVertexAttrib4Nub Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLubyte

x.

-> GLubyte

y.

-> GLubyte

z.

-> GLubyte

w.

-> m () 

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

glVertexAttrib4Nubv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> m () 

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

glVertexAttrib4Nuiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> m () 

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

glVertexAttrib4Nusv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> m () 

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

glVertexAttrib4bv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> m () 

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

glVertexAttrib4d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib4dv.

glVertexAttrib4dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

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

glVertexAttrib4f Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib4fv.

glVertexAttrib4fv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m () 

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

glVertexAttrib4iv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

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

glVertexAttrib4s Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> GLshort

w.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttrib4sv.

glVertexAttrib4sv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

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

glVertexAttrib4ubv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> m () 

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

glVertexAttrib4uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> m () 

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

glVertexAttrib4usv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> m () 

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

glVertexAttribI1i Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

x.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI1iv.

glVertexAttribI1iv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 1 element of type GLint.

-> m () 

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

glVertexAttribI1ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLuint

x.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI1uiv.

glVertexAttribI1uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 1 element of type GLuint.

-> m () 

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

glVertexAttribI2i Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

x.

-> GLint

y.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI2iv.

glVertexAttribI2iv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 2 elements of type GLint.

-> m () 

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

glVertexAttribI2ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI2uiv.

glVertexAttribI2uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 2 elements of type GLuint.

-> m () 

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

glVertexAttribI3i Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

x.

-> GLint

y.

-> GLint

z.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI3iv.

glVertexAttribI3iv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 3 elements of type GLint.

-> m () 

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

glVertexAttribI3ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> GLuint

z.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI3uiv.

glVertexAttribI3uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 3 elements of type GLuint.

-> m () 

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

glVertexAttribI4bv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> m () 

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

glVertexAttribI4i Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

x.

-> GLint

y.

-> GLint

z.

-> GLint

w.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI4iv.

glVertexAttribI4iv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

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

glVertexAttribI4sv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

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

glVertexAttribI4ubv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> m () 

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

glVertexAttribI4ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLuint

x.

-> GLuint

y.

-> GLuint

z.

-> GLuint

w.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x. The vector equivalent of this command is glVertexAttribI4uiv.

glVertexAttribI4uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> m () 

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

glVertexAttribI4usv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> m () 

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

glVertexAttribIPointer Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribEnum.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

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

glVertexAttribPointer Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glViewport Source #

Arguments

:: MonadIO m 
=> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glWaitSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLbitfield

flags.

-> GLuint64

timeout.

-> m () 

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