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

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

Graphics.GL.Compatibility43

Contents

Description

 
Synopsis

Types

type GLDEBUGPROC = FunPtr GLDEBUGPROCFunc Source #

A pointer to a debug callback.

type GLDEBUGPROCFunc Source #

Arguments

 = GLenum

source.

-> GLenum

type.

-> GLuint

id.

-> GLenum

severity.

-> GLsizei

length.

-> Ptr GLchar

message.

-> Ptr ()

userParam.

-> IO () 

Debug callback.

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.

makeGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc) Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

Enums

pattern GL_2D :: GLenum Source #

pattern GL_3D :: GLenum Source #

pattern GL_ACCUM :: GLenum Source #

pattern GL_ADD :: GLenum Source #

pattern GL_ALPHA :: GLenum Source #

pattern GL_AND :: GLenum Source #

pattern GL_AUX0 :: GLenum Source #

pattern GL_AUX1 :: GLenum Source #

pattern GL_AUX2 :: GLenum Source #

pattern GL_AUX3 :: GLenum Source #

pattern GL_BACK :: GLenum Source #

pattern GL_BGR :: GLenum Source #

pattern GL_BGRA :: GLenum Source #

pattern GL_BLEND :: GLenum Source #

pattern GL_BLUE :: GLenum Source #

pattern GL_BOOL :: GLenum Source #

pattern GL_BYTE :: GLenum Source #

pattern GL_CCW :: GLenum Source #

pattern GL_CLAMP :: GLenum Source #

pattern GL_CLEAR :: GLenum Source #

pattern GL_COEFF :: GLenum Source #

pattern GL_COLOR :: GLenum Source #

pattern GL_COPY :: GLenum Source #

pattern GL_CW :: GLenum Source #

pattern GL_DECAL :: GLenum Source #

pattern GL_DECR :: GLenum Source #

pattern GL_DEPTH :: GLenum Source #

pattern GL_EQUAL :: GLenum Source #

pattern GL_EQUIV :: GLenum Source #

pattern GL_EXP :: GLenum Source #

pattern GL_EXP2 :: GLenum Source #

pattern GL_FILL :: GLenum Source #

pattern GL_FIXED :: GLenum Source #

pattern GL_FLAT :: GLenum Source #

pattern GL_FLOAT :: GLenum Source #

pattern GL_FOG :: GLenum Source #

pattern GL_FRONT :: GLenum Source #

pattern GL_GREEN :: GLenum Source #

pattern GL_INCR :: GLenum Source #

pattern GL_INDEX :: GLenum Source #

pattern GL_INT :: GLenum Source #

pattern GL_KEEP :: GLenum Source #

pattern GL_LEFT :: GLenum Source #

pattern GL_LESS :: GLenum Source #

pattern GL_LINE :: GLenum Source #

pattern GL_LINES :: GLenum Source #

pattern GL_LOAD :: GLenum Source #

pattern GL_MAX :: GLenum Source #

pattern GL_MIN :: GLenum Source #

pattern GL_MULT :: GLenum Source #

pattern GL_NAND :: GLenum Source #

pattern GL_NEVER :: GLenum Source #

pattern GL_NONE :: GLenum Source #

pattern GL_NOOP :: GLenum Source #

pattern GL_NOR :: GLenum Source #

pattern GL_ONE :: GLenum Source #

pattern GL_OR :: GLenum Source #

pattern GL_ORDER :: GLenum Source #

pattern GL_POINT :: GLenum Source #

pattern GL_Q :: GLenum Source #

pattern GL_QUADS :: GLenum Source #

pattern GL_QUERY :: GLenum Source #

pattern GL_R :: GLenum Source #

pattern GL_R16 :: GLenum Source #

pattern GL_R16F :: GLenum Source #

pattern GL_R16I :: GLenum Source #

pattern GL_R16UI :: GLenum Source #

pattern GL_R32F :: GLenum Source #

pattern GL_R32I :: GLenum Source #

pattern GL_R32UI :: GLenum Source #

pattern GL_R8 :: GLenum Source #

pattern GL_R8I :: GLenum Source #

pattern GL_R8UI :: GLenum Source #

pattern GL_RED :: GLenum Source #

pattern GL_RG :: GLenum Source #

pattern GL_RG16 :: GLenum Source #

pattern GL_RG16F :: GLenum Source #

pattern GL_RG16I :: GLenum Source #

pattern GL_RG32F :: GLenum Source #

pattern GL_RG32I :: GLenum Source #

pattern GL_RG8 :: GLenum Source #

pattern GL_RG8I :: GLenum Source #

pattern GL_RG8UI :: GLenum Source #

pattern GL_RGB :: GLenum Source #

pattern GL_RGB10 :: GLenum Source #

pattern GL_RGB12 :: GLenum Source #

pattern GL_RGB16 :: GLenum Source #

pattern GL_RGB4 :: GLenum Source #

pattern GL_RGB5 :: GLenum Source #

pattern GL_RGB8 :: GLenum Source #

pattern GL_RGB8I :: GLenum Source #

pattern GL_RGBA :: GLenum Source #

pattern GL_RGBA2 :: GLenum Source #

pattern GL_RGBA4 :: GLenum Source #

pattern GL_RGBA8 :: GLenum Source #

pattern GL_RIGHT :: GLenum Source #

pattern GL_S :: GLenum Source #

pattern GL_SET :: GLenum Source #

pattern GL_SHORT :: GLenum Source #

pattern GL_SRGB :: GLenum Source #

pattern GL_SRGB8 :: GLenum Source #

pattern GL_T :: GLenum Source #

pattern GL_TYPE :: GLenum Source #

pattern GL_V2F :: GLenum Source #

pattern GL_V3F :: GLenum Source #

pattern GL_XOR :: GLenum Source #

pattern GL_ZERO :: GLenum Source #

Functions

glAccum Source #

Arguments

:: MonadIO m 
=> GLenum

op of type AccumOp.

-> GLfloat

value of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glActiveShaderProgram Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLuint

program.

-> m () 

Manual page for OpenGL 4.x.

glActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

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

glAlphaFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type AlphaFunction.

-> GLfloat

ref.

-> m () 

Manual page for OpenGL 2.x.

glAreTexturesResident Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> m GLboolean

of type Boolean.

Manual page for OpenGL 2.x.

glArrayElement Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glAttachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

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

glBegin Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> m () 

Manual page for OpenGL 2.x.

glBeginConditionalRender Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

mode of type TypeEnum.

-> m () 

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

glBeginQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> GLuint

id.

-> m () 

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

glBeginQueryIndexed Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> GLuint

index.

-> GLuint

id.

-> m () 

Manual page for OpenGL 4.x.

glBeginTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLenum

primitiveMode of type PrimitiveType.

-> m () 

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

glBindAttribLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> m () 

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

glBindBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> m () 

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

glBindBufferBase Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

index.

-> GLuint

buffer.

-> m () 

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

glBindBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

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

glBindFragDataLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

color.

-> Ptr GLchar

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

-> m () 

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

glBindFragDataLocationIndexed Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

colorNumber.

-> GLuint

index.

-> Ptr GLchar

name.

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

glBindImageTexture Source #

Arguments

:: MonadIO m 
=> GLuint

unit.

-> GLuint

texture.

-> GLint

level.

-> GLboolean

layered of type Boolean.

-> GLint

layer.

-> GLenum

access of type BufferAccessARB.

-> GLenum

format of type InternalFormat.

-> m () 

Manual page for OpenGL 4.x.

glBindProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m () 

Manual page for 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.

glBindSampler Source #

Arguments

:: MonadIO m 
=> GLuint

unit.

-> GLuint

sampler.

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

glBindTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BindTransformFeedbackTarget.

-> GLuint

id.

-> m () 

Manual page for OpenGL 4.x.

glBindVertexArray Source #

Arguments

:: MonadIO m 
=> GLuint

array.

-> m () 

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

glBindVertexBuffer Source #

Arguments

:: MonadIO m 
=> GLuint

bindingindex.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizei

stride.

-> m () 

Manual page for OpenGL 4.x.

glBitmap Source #

Arguments

:: MonadIO m 
=> GLsizei

width.

-> GLsizei

height.

-> GLfloat

xorig of type CoordF.

-> GLfloat

yorig of type CoordF.

-> GLfloat

xmove of type CoordF.

-> GLfloat

ymove of type CoordF.

-> Ptr GLubyte

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

-> m () 

Manual page for OpenGL 2.x.

glBlendColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glBlendEquation Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type BlendEquationModeEXT.

-> m () 

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

glBlendEquationSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> m () 

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

glBlendEquationSeparatei Source #

Arguments

:: MonadIO m 
=> GLuint

buf.

-> GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> m () 

Manual page for OpenGL 4.x.

glBlendEquationi Source #

Arguments

:: MonadIO m 
=> GLuint

buf.

-> GLenum

mode of type BlendEquationModeEXT.

-> m () 

Manual page for OpenGL 4.x.

glBlendFunc Source #

Arguments

:: MonadIO m 
=> GLenum

sfactor of type BlendingFactor.

-> GLenum

dfactor of type BlendingFactor.

-> m () 

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

glBlendFuncSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

sfactorRGB of type BlendingFactor.

-> GLenum

dfactorRGB of type BlendingFactor.

-> GLenum

sfactorAlpha of type BlendingFactor.

-> GLenum

dfactorAlpha of type BlendingFactor.

-> m () 

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

glBlendFuncSeparatei Source #

Arguments

:: MonadIO m 
=> GLuint

buf.

-> GLenum

srcRGB of type BlendingFactor.

-> GLenum

dstRGB of type BlendingFactor.

-> GLenum

srcAlpha of type BlendingFactor.

-> GLenum

dstAlpha of type BlendingFactor.

-> m () 

Manual page for OpenGL 4.x.

glBlendFunci Source #

Arguments

:: MonadIO m 
=> GLuint

buf.

-> GLenum

src of type BlendingFactor.

-> GLenum

dst of type BlendingFactor.

-> m () 

Manual page for OpenGL 4.x.

glBlitFramebuffer Source #

Arguments

:: MonadIO m 
=> GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask of type ClearBufferMask.

-> GLenum

filter of type BlitFramebufferFilter.

-> m () 

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

glBufferData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> m () 

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

glBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> m () 

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

glCallList Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> m () 

Manual page for OpenGL 2.x.

glCallLists Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> GLenum

type of type ListNameType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glCheckFramebufferStatus Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> m GLenum

of type FramebufferStatus.

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

glClampColor Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ClampColorTargetARB.

-> GLenum

clamp of type ClampColorModeARB.

-> m () 

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

glClear Source #

Arguments

:: MonadIO m 
=> GLbitfield

mask of type ClearBufferMask.

-> m () 

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

glClearAccum Source #

Arguments

:: MonadIO m 
=> GLfloat

red.

-> GLfloat

green.

-> GLfloat

blue.

-> GLfloat

alpha.

-> m () 

Manual page for OpenGL 2.x.

glClearBufferData Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferStorageTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 4.x.

glClearBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

internalformat of type InternalFormat.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 4.x.

glClearBufferfi Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> GLfloat

depth.

-> GLint

stencil.

-> m () 

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

glClearBufferfv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLfloat

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

-> m () 

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

glClearBufferiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLint

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

-> m () 

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

glClearBufferuiv Source #

Arguments

:: MonadIO m 
=> GLenum

buffer of type Buffer.

-> GLint

drawbuffer of type DrawBufferName.

-> Ptr GLuint

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

-> m () 

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

glClearColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glClearDepth Source #

Arguments

:: MonadIO m 
=> GLdouble

depth.

-> m () 

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

glClearDepthf Source #

Arguments

:: MonadIO m 
=> GLfloat

d.

-> m () 

Manual page for OpenGL 4.x.

glClearIndex Source #

Arguments

:: MonadIO m 
=> GLfloat

c of type MaskedColorIndexValueF.

-> m () 

Manual page for OpenGL 2.x.

glClearStencil Source #

Arguments

:: MonadIO m 
=> GLint

s of type StencilValue.

-> m () 

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

glClientActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

Manual page for OpenGL 2.x.

glClientWaitSync Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLbitfield

flags of type SyncObjectMask.

-> GLuint64

timeout.

-> m GLenum

of type SyncStatus.

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

glClipPlane Source #

Arguments

:: MonadIO m 
=> GLenum

plane of type ClipPlaneName.

-> Ptr GLdouble

equation pointing to 4 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glColor3b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> m () 

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

glColor3bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor3d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> m () 

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

glColor3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor3f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> m () 

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

glColor3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor3i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> m () 

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

glColor3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor3s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> m () 

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

glColor3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor3ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> m () 

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

glColor3ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 3 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor3ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> m () 

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

glColor3uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 3 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor3us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> m () 

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

glColor3usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 3 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColor4b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> GLbyte

alpha of type ColorB.

-> m () 

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

glColor4bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 4 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor4d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> GLdouble

alpha of type ColorD.

-> m () 

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

glColor4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor4f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glColor4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor4i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> GLint

alpha of type ColorI.

-> m () 

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

glColor4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor4s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> GLshort

alpha of type ColorS.

-> m () 

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

glColor4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor4ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> GLubyte

alpha of type ColorUB.

-> m () 

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

glColor4ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 4 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor4ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> GLuint

alpha of type ColorUI.

-> m () 

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

glColor4uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 4 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor4us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> GLushort

alpha of type ColorUS.

-> m () 

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

glColor4usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 4 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColorMask Source #

Arguments

:: MonadIO m 
=> GLboolean

red of type Boolean.

-> GLboolean

green of type Boolean.

-> GLboolean

blue of type Boolean.

-> GLboolean

alpha of type Boolean.

-> m () 

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

glColorMaski Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLboolean

r of type Boolean.

-> GLboolean

g of type Boolean.

-> GLboolean

b of type Boolean.

-> GLboolean

a of type Boolean.

-> m () 

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

glColorMaterial Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

mode of type ColorMaterialParameter.

-> m () 

Manual page for OpenGL 2.x.

glColorP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> GLuint

color.

-> m () 

glColorP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> Ptr GLuint

color pointing to 1 element of type GLuint.

-> m () 

glColorP4ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> GLuint

color.

-> m () 

glColorP4uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> Ptr GLuint

color pointing to 1 element of type GLuint.

-> m () 

glColorPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type ColorPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glCompileShader Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> m () 

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

glCompressedTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCopyBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

readTarget of type CopyBufferSubDataTarget.

-> GLenum

writeTarget of type CopyBufferSubDataTarget.

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

glCopyImageSubData Source #

Arguments

:: MonadIO m 
=> GLuint

srcName.

-> GLenum

srcTarget of type CopyBufferSubDataTarget.

-> GLint

srcLevel.

-> GLint

srcX.

-> GLint

srcY.

-> GLint

srcZ.

-> GLuint

dstName.

-> GLenum

dstTarget of type CopyBufferSubDataTarget.

-> GLint

dstLevel.

-> GLint

dstX.

-> GLint

dstY.

-> GLint

dstZ.

-> GLsizei

srcWidth.

-> GLsizei

srcHeight.

-> GLsizei

srcDepth.

-> m () 

Manual page for OpenGL 4.x.

glCopyPixels Source #

Arguments

:: MonadIO m 
=> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

type of type PixelCopyType.

-> m () 

Manual page for OpenGL 2.x.

glCopyTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

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

glCopyTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glCopyTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glCreateShader Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ShaderType.

-> m GLuint 

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

glCreateShaderProgramv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ShaderType.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

strings pointing to count elements of type Ptr GLchar.

-> m GLuint 

Manual page for 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.

glDebugMessageCallback Source #

Arguments

:: MonadIO m 
=> GLDEBUGPROC

callback.

-> Ptr a

userParam.

-> m () 

Manual page for OpenGL 4.x.

glDebugMessageControl Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLenum

type of type DebugType.

-> GLenum

severity of type DebugSeverity.

-> GLsizei

count.

-> Ptr GLuint

ids pointing to count elements of type GLuint.

-> GLboolean

enabled of type Boolean.

-> m () 

Manual page for OpenGL 4.x.

glDebugMessageInsert Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLenum

type of type DebugType.

-> GLuint

id.

-> GLenum

severity of type DebugSeverity.

-> GLsizei

length.

-> Ptr GLchar

buf pointing to COMPSIZE(buf,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glDeleteBuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

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

glDeleteFramebuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> m () 

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

glDeleteLists Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> GLsizei

range.

-> m () 

Manual page for OpenGL 2.x.

glDeleteProgram Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m () 

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

glDeleteProgramPipelines Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines pointing to n elements of type GLuint.

-> m () 

Manual page for 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.

glDeleteSamplers Source #

Arguments

:: MonadIO m 
=> GLsizei

count.

-> Ptr GLuint

samplers pointing to count 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.

glDeleteTransformFeedbacks Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

Manual page for 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

n.

-> GLdouble

f.

-> m () 

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

glDepthRangeArrayv Source #

Arguments

:: MonadIO m 
=> GLuint

first.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to COMPSIZE(count) elements of type GLdouble.

-> m () 

Manual page for OpenGL 4.x.

glDepthRangeIndexed Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

n.

-> GLdouble

f.

-> m () 

Manual page for OpenGL 4.x.

glDepthRangef Source #

Arguments

:: MonadIO m 
=> GLfloat

n.

-> GLfloat

f.

-> m () 

Manual page for OpenGL 4.x.

glDetachShader Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

shader.

-> m () 

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

glDisable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

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

glDisableClientState Source #

Arguments

:: MonadIO m 
=> GLenum

array of type EnableCap.

-> m () 

Manual page for OpenGL 2.x.

glDisableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glDisablei Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

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

glDispatchCompute Source #

Arguments

:: MonadIO m 
=> GLuint

num_groups_x.

-> GLuint

num_groups_y.

-> GLuint

num_groups_z.

-> m () 

Manual page for OpenGL 4.x.

glDispatchComputeIndirect Source #

Arguments

:: MonadIO m 
=> GLintptr

indirect of type BufferOffset.

-> m () 

Manual page for 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.

glDrawArraysIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> Ptr a

indirect.

-> m () 

Manual page for 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.

glDrawArraysInstancedBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

instancecount.

-> GLuint

baseinstance.

-> m () 

Manual page for 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.

glDrawElementsIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indirect.

-> m () 

Manual page for 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.

glDrawElementsInstancedBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type PrimitiveType.

-> Ptr a

indices pointing to count elements of type a.

-> GLsizei

instancecount.

-> GLuint

baseinstance.

-> m () 

Manual page for 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.

glDrawElementsInstancedBaseVertexBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type PrimitiveType.

-> Ptr a

indices pointing to count elements of type a.

-> GLsizei

instancecount.

-> GLint

basevertex.

-> GLuint

baseinstance.

-> m () 

Manual page for OpenGL 4.x.

glDrawPixels Source #

Arguments

:: MonadIO m 
=> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glDrawRangeElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> m () 

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

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.

glDrawTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

id.

-> m () 

Manual page for OpenGL 4.x.

glDrawTransformFeedbackInstanced Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

id.

-> GLsizei

instancecount.

-> m () 

Manual page for OpenGL 4.x.

glDrawTransformFeedbackStream Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

id.

-> GLuint

stream.

-> m () 

Manual page for OpenGL 4.x.

glDrawTransformFeedbackStreamInstanced Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

id.

-> GLuint

stream.

-> GLsizei

instancecount.

-> m () 

Manual page for OpenGL 4.x.

glEdgeFlag Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

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

glEdgeFlagPointer Source #

Arguments

:: MonadIO m 
=> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glEdgeFlagv Source #

Arguments

:: MonadIO m 
=> Ptr GLboolean

flag pointing to 1 element of type Boolean.

-> m () 

Manual page for OpenGL 2.x.

glEnable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

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

glEnableClientState Source #

Arguments

:: MonadIO m 
=> GLenum

array of type EnableCap.

-> m () 

Manual page for OpenGL 2.x.

glEnableVertexAttribArray Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glEnablei Source #

Arguments

:: MonadIO m 
=> GLenum

target of type EnableCap.

-> GLuint

index.

-> m () 

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

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

Manual page for OpenGL 2.x.

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

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

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

Manual page for OpenGL 2.x.

glEndQuery Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> m () 

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

glEndQueryIndexed Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> GLuint

index.

-> m () 

Manual page for OpenGL 4.x.

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

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

glEvalCoord1d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> m () 

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

glEvalCoord1dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord1f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> m () 

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

glEvalCoord1fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> GLdouble

v of type CoordD.

-> m () 

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

glEvalCoord2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> GLfloat

v of type CoordF.

-> m () 

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

glEvalCoord2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh1 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode1.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh2 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode2.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> GLint

j1 of type CheckedInt32.

-> GLint

j2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint1 Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint2 Source #

Arguments

:: MonadIO m 
=> GLint

i of type CheckedInt32.

-> GLint

j of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glFeedbackBuffer Source #

Arguments

:: MonadIO m 
=> GLsizei

size.

-> GLenum

type of type FeedbackType.

-> Ptr GLfloat

buffer pointing to size elements of type FeedbackElement.

-> m () 

Manual page for OpenGL 2.x.

glFenceSync Source #

Arguments

:: MonadIO m 
=> GLenum

condition of type SyncCondition.

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

glFogCoordPointer Source #

Arguments

:: MonadIO m 
=> GLenum

type of type FogPointerTypeEXT.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glFogCoordd Source #

Arguments

:: MonadIO m 
=> GLdouble

coord of type CoordD.

-> m () 

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

glFogCoorddv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

coord pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glFogCoordf Source #

Arguments

:: MonadIO m 
=> GLfloat

coord of type CoordF.

-> m () 

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

glFogCoordfv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

coord pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glFogf Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glFogfv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glFogi Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glFogiv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type FogParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glFramebufferParameteri Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

pname of type FramebufferParameterName.

-> GLint

param.

-> m () 

Manual page for 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 of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> 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 of type TextureTarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

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

glFramebufferTexture2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget of type TextureTarget.

-> GLuint

texture.

-> GLint

level.

-> m () 

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

glFramebufferTexture3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

textarget of type TextureTarget.

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

glFrustum Source #

Arguments

:: MonadIO m 
=> GLdouble

left.

-> GLdouble

right.

-> GLdouble

bottom.

-> GLdouble

top.

-> GLdouble

zNear.

-> GLdouble

zFar.

-> m () 

Manual page for OpenGL 2.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.

glGenLists Source #

Arguments

:: MonadIO m 
=> GLsizei

range.

-> m GLuint

of type List.

Manual page for OpenGL 2.x.

glGenProgramPipelines Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines pointing to n elements of type GLuint.

-> m () 

Manual page for 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.

glGenSamplers Source #

Arguments

:: MonadIO m 
=> GLsizei

count.

-> Ptr GLuint

samplers pointing to count 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.

glGenTransformFeedbacks Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

Manual page for 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 of type TextureTarget.

-> m () 

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

glGetActiveAtomicCounterBufferiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

bufferIndex.

-> GLenum

pname of type AtomicCounterBufferPName.

-> Ptr GLint

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

-> m () 

Manual page for 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 AttributeType.

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

glGetActiveSubroutineName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> GLuint

index.

-> GLsizei

bufsize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

name pointing to bufsize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetActiveSubroutineUniformName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> GLuint

index.

-> GLsizei

bufsize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

name pointing to bufsize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetActiveSubroutineUniformiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> GLuint

index.

-> GLenum

pname of type SubroutineParameterName.

-> Ptr GLint

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

-> m () 

Manual page for 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 AttributeType.

-> 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 of type UniformBlockPName.

-> 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 of type UniformPName.

-> 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 of type BufferTargetARB.

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

glGetClipPlane Source #

Arguments

:: MonadIO m 
=> GLenum

plane of type ClipPlaneName.

-> Ptr GLdouble

equation pointing to 4 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

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.

glGetDebugMessageLog Source #

Arguments

:: MonadIO m 
=> GLuint

count.

-> GLsizei

bufSize.

-> Ptr GLenum

sources pointing to count elements of type DebugSource.

-> Ptr GLenum

types pointing to count elements of type DebugType.

-> Ptr GLuint

ids pointing to count elements of type GLuint.

-> Ptr GLenum

severities pointing to count elements of type DebugSeverity.

-> Ptr GLsizei

lengths pointing to count elements of type GLsizei.

-> Ptr GLchar

messageLog pointing to bufSize elements of type GLchar.

-> m GLuint 

Manual page for OpenGL 4.x.

glGetDoublei_v Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TypeEnum.

-> GLuint

index.

-> Ptr GLdouble

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

-> m () 

Manual page for 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.

glGetFloati_v Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TypeEnum.

-> GLuint

index.

-> Ptr GLfloat

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

-> m () 

Manual page for 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.

glGetFragDataIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

name.

-> m GLint 

Manual pages for 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 of type FramebufferAttachmentParameterName.

-> Ptr GLint

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

-> m () 

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

glGetFramebufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLenum

pname of type FramebufferAttachmentParameterName.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetInteger64i_v Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TypeEnum.

-> 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 of type GetPName.

-> 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 of type TypeEnum.

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

glGetInternalformati64v Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLenum

pname of type InternalFormatPName.

-> GLsizei

bufSize.

-> Ptr GLint64

params pointing to bufSize elements of type GLint64.

-> m () 

Manual page for OpenGL 4.x.

glGetInternalformativ Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLenum

pname of type InternalFormatPName.

-> GLsizei

bufSize.

-> Ptr GLint

params pointing to bufSize elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glGetLightfv Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glGetLightiv Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glGetMapdv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLenum

query of type GetMapQuery.

-> Ptr GLdouble

v pointing to COMPSIZE(target,query) elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glGetMapfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLenum

query of type GetMapQuery.

-> Ptr GLfloat

v pointing to COMPSIZE(target,query) elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glGetMapiv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLenum

query of type GetMapQuery.

-> Ptr GLint

v pointing to COMPSIZE(target,query) elements of type GLint.

-> m () 

Manual page for OpenGL 2.x.

glGetMaterialfv Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glGetMaterialiv Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glGetMultisamplefv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetMultisamplePNameNV.

-> GLuint

index.

-> Ptr GLfloat

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

-> m () 

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

glGetObjectLabel Source #

Arguments

:: MonadIO m 
=> GLenum

identifier.

-> GLuint

name.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

label pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetObjectPtrLabel Source #

Arguments

:: MonadIO m 
=> Ptr a

ptr.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

label pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetPixelMapfv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> Ptr GLfloat

values pointing to COMPSIZE(map) elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glGetPixelMapuiv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> Ptr GLuint

values pointing to COMPSIZE(map) elements of type GLuint.

-> m () 

Manual page for OpenGL 2.x.

glGetPixelMapusv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> Ptr GLushort

values pointing to COMPSIZE(map) elements of type GLushort.

-> m () 

Manual page for OpenGL 2.x.

glGetPointerv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPointervPName.

-> Ptr (Ptr a)

params pointing to 1 element of type Ptr a.

-> m () 

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

glGetPolygonStipple Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

mask pointing to COMPSIZE() elements of type GLubyte.

-> m () 

Manual page for OpenGL 2.x.

glGetProgramBinary Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLenum

binaryFormat pointing to 1 element of type GLenum.

-> Ptr a

binary pointing to bufSize elements of type a.

-> m () 

Manual page for 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.

glGetProgramInterfaceiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> GLenum

pname of type ProgramInterfacePName.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetProgramPipelineInfoLog Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramPipelineiv Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLenum

pname of type PipelineParameterName.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetProgramResourceIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> Ptr GLchar

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

-> m GLuint 

Manual page for OpenGL 4.x.

glGetProgramResourceLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> Ptr GLchar

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

-> m GLint 

Manual page for OpenGL 4.x.

glGetProgramResourceLocationIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> Ptr GLchar

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

-> m GLint 

Manual page for OpenGL 4.x.

glGetProgramResourceName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramResourceiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> GLuint

index.

-> GLsizei

propCount.

-> Ptr GLenum

props pointing to propCount elements of type GLenum.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

params pointing to bufSize elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramStageiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> GLenum

pname of type ProgramStagePName.

-> Ptr GLint

values pointing to 1 element of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

pname of type ProgramPropertyARB.

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

glGetQueryIndexediv Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> GLenum

pname of type QueryParameterName.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetQueryObjecti64v Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type QueryObjectParameterName.

-> Ptr GLint64

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

-> m () 

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

glGetQueryObjectiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type QueryObjectParameterName.

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

glGetQueryObjectui64v Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type QueryObjectParameterName.

-> Ptr GLuint64

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

-> m () 

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

glGetQueryObjectuiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type QueryObjectParameterName.

-> 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 of type QueryTarget.

-> GLenum

pname of type QueryParameterName.

-> 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 of type RenderbufferParameterName.

-> Ptr GLint

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

-> m () 

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

glGetSamplerParameterIiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLint

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

-> m () 

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

glGetSamplerParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLuint

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

-> m () 

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

glGetSamplerParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLfloat

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

-> m () 

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

glGetSamplerParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

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

glGetShaderPrecisionFormat Source #

Arguments

:: MonadIO m 
=> GLenum

shadertype of type ShaderType.

-> GLenum

precisiontype of type PrecisionType.

-> Ptr GLint

range pointing to 2 elements of type GLint.

-> Ptr GLint

precision pointing to 1 element of type GLint.

-> m () 

Manual page for 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 of type ShaderParameterName.

-> 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 of type StringName.

-> GLuint

index.

-> m (Ptr GLubyte)

pointing to elements of type String.

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

glGetSubroutineIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> Ptr GLchar

name.

-> m GLuint 

Manual page for OpenGL 4.x.

glGetSubroutineUniformLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype of type ShaderType.

-> Ptr GLchar

name.

-> m GLint 

Manual page for OpenGL 4.x.

glGetSynciv Source #

Arguments

:: MonadIO m 
=> GLsync

sync of type sync.

-> GLenum

pname of type SyncParameterName.

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

glGetTexEnvfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glGetTexEnviv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glGetTexGendv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLdouble

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

-> m () 

Manual page for OpenGL 2.x.

glGetTexGenfv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glGetTexGeniv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.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.

glGetUniformSubroutineuiv Source #

Arguments

:: MonadIO m 
=> GLenum

shadertype of type ShaderType.

-> GLint

location.

-> Ptr GLuint

params pointing to 1 element of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glGetUniformdv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> Ptr GLdouble

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

-> m () 

Manual page for 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.

glGetVertexAttribLdv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnum.

-> Ptr GLdouble

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

-> m () 

Manual page for 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.

glIndexMask Source #

Arguments

:: MonadIO m 
=> GLuint

mask of type MaskedColorIndexValueI.

-> m () 

Manual page for OpenGL 2.x.

glIndexPointer Source #

Arguments

:: MonadIO m 
=> GLenum

type of type IndexPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glIndexd Source #

Arguments

:: MonadIO m 
=> GLdouble

c of type ColorIndexValueD.

-> m () 

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

glIndexdv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

c pointing to 1 element of type ColorIndexValueD.

-> m () 

Manual page for OpenGL 2.x.

glIndexf Source #

Arguments

:: MonadIO m 
=> GLfloat

c of type ColorIndexValueF.

-> m () 

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

glIndexfv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

c pointing to 1 element of type ColorIndexValueF.

-> m () 

Manual page for OpenGL 2.x.

glIndexi Source #

Arguments

:: MonadIO m 
=> GLint

c of type ColorIndexValueI.

-> m () 

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

glIndexiv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

c pointing to 1 element of type ColorIndexValueI.

-> m () 

Manual page for OpenGL 2.x.

glIndexs Source #

Arguments

:: MonadIO m 
=> GLshort

c of type ColorIndexValueS.

-> m () 

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

glIndexsv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

c pointing to 1 element of type ColorIndexValueS.

-> m () 

Manual page for OpenGL 2.x.

glIndexub Source #

Arguments

:: MonadIO m 
=> GLubyte

c of type ColorIndexValueUB.

-> m () 

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

glIndexubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

c pointing to 1 element of type ColorIndexValueUB.

-> m () 

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

glInterleavedArrays Source #

Arguments

:: MonadIO m 
=> GLenum

format of type InterleavedArrayFormat.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glInvalidateBufferData Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateBufferSubData Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateFramebuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target of type FramebufferTarget.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments pointing to numAttachments elements of type GLenum.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateSubFramebuffer Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments pointing to numAttachments elements of type FramebufferAttachment.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateTexImage Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateTexSubImage Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

zoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> m () 

Manual page for 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 of type EnableCap.

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

glIsList Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> m GLboolean

of type Boolean.

Manual page for OpenGL 2.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.

glIsProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m GLboolean

of type Boolean.

Manual page for 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.

glIsSampler Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

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

glIsTransformFeedback Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> m GLboolean

of type Boolean.

Manual page for 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.

glLightModelf Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type LightModelParameter.

-> GLfloat

param.

-> m () 

Manual page for OpenGL 2.x.

glLightModelfv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type LightModelParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glLightModeli Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type LightModelParameter.

-> GLint

param.

-> m () 

Manual page for OpenGL 2.x.

glLightModeliv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type LightModelParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glLightf Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glLightfv Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glLighti Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glLightiv Source #

Arguments

:: MonadIO m 
=> GLenum

light of type LightName.

-> GLenum

pname of type LightParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glLineStipple Source #

Arguments

:: MonadIO m 
=> GLint

factor of type CheckedInt32.

-> GLushort

pattern of type LineStipple.

-> m () 

Manual page for OpenGL 2.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.

glListBase Source #

Arguments

:: MonadIO m 
=> GLuint

base of type List.

-> m () 

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

glLoadMatrixd Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

m pointing to 16 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glLoadMatrixf Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

m pointing to 16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glLoadName Source #

Arguments

:: MonadIO m 
=> GLuint

name of type SelectName.

-> m () 

Manual page for OpenGL 2.x.

glLoadTransposeMatrixd Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

m pointing to 16 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glLoadTransposeMatrixf Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

m pointing to 16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.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.

glMap1d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLdouble

u1 of type CoordD.

-> GLdouble

u2 of type CoordD.

-> GLint

stride.

-> GLint

order of type CheckedInt32.

-> Ptr GLdouble

points pointing to COMPSIZE(target,stride,order) elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMap1f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLfloat

u1 of type CoordF.

-> GLfloat

u2 of type CoordF.

-> GLint

stride.

-> GLint

order of type CheckedInt32.

-> Ptr GLfloat

points pointing to COMPSIZE(target,stride,order) elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMap2d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLdouble

u1 of type CoordD.

-> GLdouble

u2 of type CoordD.

-> GLint

ustride.

-> GLint

uorder of type CheckedInt32.

-> GLdouble

v1 of type CoordD.

-> GLdouble

v2 of type CoordD.

-> GLint

vstride.

-> GLint

vorder of type CheckedInt32.

-> Ptr GLdouble

points pointing to COMPSIZE(target,ustride,uorder,vstride,vorder) elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMap2f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type MapTarget.

-> GLfloat

u1 of type CoordF.

-> GLfloat

u2 of type CoordF.

-> GLint

ustride.

-> GLint

uorder of type CheckedInt32.

-> GLfloat

v1 of type CoordF.

-> GLfloat

v2 of type CoordF.

-> GLint

vstride.

-> GLint

vorder of type CheckedInt32.

-> Ptr GLfloat

points pointing to COMPSIZE(target,ustride,uorder,vstride,vorder) elements of type CoordF.

-> m () 

Manual page for OpenGL 2.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.

glMapGrid1d Source #

Arguments

:: MonadIO m 
=> GLint

un.

-> GLdouble

u1 of type CoordD.

-> GLdouble

u2 of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMapGrid1f Source #

Arguments

:: MonadIO m 
=> GLint

un.

-> GLfloat

u1 of type CoordF.

-> GLfloat

u2 of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMapGrid2d Source #

Arguments

:: MonadIO m 
=> GLint

un.

-> GLdouble

u1 of type CoordD.

-> GLdouble

u2 of type CoordD.

-> GLint

vn.

-> GLdouble

v1 of type CoordD.

-> GLdouble

v2 of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMapGrid2f Source #

Arguments

:: MonadIO m 
=> GLint

un.

-> GLfloat

u1 of type CoordF.

-> GLfloat

u2 of type CoordF.

-> GLint

vn.

-> GLfloat

v1 of type CoordF.

-> GLfloat

v2 of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMaterialf Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glMaterialfv Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glMateriali Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glMaterialiv Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

pname of type MaterialParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glMatrixMode Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MatrixMode.

-> m () 

Manual page for OpenGL 2.x.

glMemoryBarrier Source #

Arguments

:: MonadIO m 
=> GLbitfield

barriers of type MemoryBarrierMask.

-> m () 

Manual page for OpenGL 4.x.

glMinSampleShading Source #

Arguments

:: MonadIO m 
=> GLfloat

value of type ColorF.

-> m () 

Manual page for OpenGL 4.x.

glMultMatrixd Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

m pointing to 16 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glMultMatrixf Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

m pointing to 16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glMultTransposeMatrixd Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

m pointing to 16 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glMultTransposeMatrixf Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

m pointing to 16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.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.

glMultiDrawArraysIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> Ptr a

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

-> GLsizei

drawcount.

-> GLsizei

stride.

-> m () 

Manual page for 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.

glMultiDrawElementsIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLsizei

drawcount.

-> GLsizei

stride.

-> m () 

Manual page for OpenGL 4.x.

glMultiTexCoord1d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLdouble

s of type CoordD.

-> m () 

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

glMultiTexCoord1dv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLdouble

v pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord1f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLfloat

s of type CoordF.

-> m () 

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

glMultiTexCoord1fv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLfloat

v pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord1i Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLint

s of type CoordI.

-> m () 

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

glMultiTexCoord1iv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLint

v pointing to 1 element of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord1s Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLshort

s of type CoordS.

-> m () 

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

glMultiTexCoord1sv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLshort

v pointing to 1 element of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord2d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> m () 

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

glMultiTexCoord2dv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLdouble

v pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord2f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> m () 

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

glMultiTexCoord2fv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLfloat

v pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord2i Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> m () 

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

glMultiTexCoord2iv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLint

v pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord2s Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> m () 

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

glMultiTexCoord2sv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLshort

v pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord3d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> GLdouble

r of type CoordD.

-> m () 

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

glMultiTexCoord3dv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord3f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> GLfloat

r of type CoordF.

-> m () 

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

glMultiTexCoord3fv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord3i Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> GLint

r of type CoordI.

-> m () 

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

glMultiTexCoord3iv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLint

v pointing to 3 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord3s Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> GLshort

r of type CoordS.

-> m () 

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

glMultiTexCoord3sv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLshort

v pointing to 3 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord4d Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> GLdouble

r of type CoordD.

-> GLdouble

q of type CoordD.

-> m () 

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

glMultiTexCoord4dv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLdouble

v pointing to 4 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord4f Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> GLfloat

r of type CoordF.

-> GLfloat

q of type CoordF.

-> m () 

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

glMultiTexCoord4fv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLfloat

v pointing to 4 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord4i Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> GLint

r of type CoordI.

-> GLint

q of type CoordI.

-> m () 

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

glMultiTexCoord4iv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLint

v pointing to 4 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoord4s Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> GLshort

r of type CoordS.

-> GLshort

q of type CoordS.

-> m () 

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

glMultiTexCoord4sv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureUnit.

-> Ptr GLshort

v pointing to 4 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glMultiTexCoordP1ui Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glMultiTexCoordP1uiv Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glMultiTexCoordP2ui Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glMultiTexCoordP2uiv Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glMultiTexCoordP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glMultiTexCoordP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glMultiTexCoordP4ui Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glMultiTexCoordP4uiv Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glNewList Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> GLenum

mode of type ListMode.

-> m () 

Manual page for OpenGL 2.x.

glNormal3b Source #

Arguments

:: MonadIO m 
=> GLbyte

nx.

-> GLbyte

ny.

-> GLbyte

nz.

-> m () 

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

glNormal3bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type GLbyte.

-> m () 

Manual page for OpenGL 2.x.

glNormal3d Source #

Arguments

:: MonadIO m 
=> GLdouble

nx of type CoordD.

-> GLdouble

ny of type CoordD.

-> GLdouble

nz of type CoordD.

-> m () 

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

glNormal3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glNormal3f Source #

Arguments

:: MonadIO m 
=> GLfloat

nx of type CoordF.

-> GLfloat

ny of type CoordF.

-> GLfloat

nz of type CoordF.

-> m () 

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

glNormal3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glNormal3i Source #

Arguments

:: MonadIO m 
=> GLint

nx.

-> GLint

ny.

-> GLint

nz.

-> m () 

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

glNormal3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type GLint.

-> m () 

Manual page for OpenGL 2.x.

glNormal3s Source #

Arguments

:: MonadIO m 
=> GLshort

nx.

-> GLshort

ny.

-> GLshort

nz.

-> m () 

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

glNormal3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type GLshort.

-> m () 

Manual page for OpenGL 2.x.

glNormalP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type NormalPointerType.

-> GLuint

coords.

-> m () 

glNormalP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type NormalPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glNormalPointer Source #

Arguments

:: MonadIO m 
=> GLenum

type of type NormalPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glObjectLabel Source #

Arguments

:: MonadIO m 
=> GLenum

identifier of type ObjectIdentifier.

-> GLuint

name.

-> GLsizei

length.

-> Ptr GLchar

label pointing to COMPSIZE(label,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glObjectPtrLabel Source #

Arguments

:: MonadIO m 
=> Ptr a

ptr.

-> GLsizei

length.

-> Ptr GLchar

label pointing to COMPSIZE(label,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glOrtho Source #

Arguments

:: MonadIO m 
=> GLdouble

left.

-> GLdouble

right.

-> GLdouble

bottom.

-> GLdouble

top.

-> GLdouble

zNear.

-> GLdouble

zFar.

-> m () 

Manual page for OpenGL 2.x.

glPassThrough Source #

Arguments

:: MonadIO m 
=> GLfloat

token of type FeedbackElement.

-> m () 

Manual page for OpenGL 2.x.

glPatchParameterfv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PatchParameterName.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 4.x.

glPatchParameteri Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PatchParameterName.

-> GLint

value.

-> m () 

Manual page for OpenGL 4.x.

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

Manual page for OpenGL 4.x.

glPixelMapfv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> GLsizei

mapsize of type CheckedInt32.

-> Ptr GLfloat

values pointing to mapsize elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glPixelMapuiv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> GLsizei

mapsize of type CheckedInt32.

-> Ptr GLuint

values pointing to mapsize elements of type GLuint.

-> m () 

Manual page for OpenGL 2.x.

glPixelMapusv Source #

Arguments

:: MonadIO m 
=> GLenum

map of type PixelMap.

-> GLsizei

mapsize of type CheckedInt32.

-> Ptr GLushort

values pointing to mapsize elements of type GLushort.

-> m () 

Manual page for OpenGL 2.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.

glPixelTransferf Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PixelTransferParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glPixelTransferi Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type PixelTransferParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glPixelZoom Source #

Arguments

:: MonadIO m 
=> GLfloat

xfactor.

-> GLfloat

yfactor.

-> m () 

Manual page for OpenGL 2.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.

glPolygonStipple Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

mask pointing to COMPSIZE() elements of type GLubyte.

-> m () 

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 4.x.

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

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

glPrimitiveRestartIndex Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

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

glPrioritizeTextures Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLfloat

priorities pointing to n elements of type GLfloat.

-> m () 

Manual page for OpenGL 2.x.

glProgramBinary Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

binaryFormat.

-> Ptr a

binary pointing to length elements of type a.

-> GLsizei

length.

-> m () 

Manual page for OpenGL 4.x.

glProgramParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

pname of type ProgramParameterPName.

-> GLint

value.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> m () 

glProgramUniform1dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count elements of type GLdouble.

-> m () 

glProgramUniform1f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> m () 

glProgramUniform2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*2 elements of type GLdouble.

-> m () 

glProgramUniform2f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*2 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> GLdouble

v2.

-> m () 

glProgramUniform3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*3 elements of type GLdouble.

-> m () 

glProgramUniform3f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*3 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> GLdouble

v2.

-> GLdouble

v3.

-> m () 

glProgramUniform4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

glProgramUniform4f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> GLuint

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*4 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2x3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2x3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2x4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2x4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*9 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3x2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3x2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3x4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3x4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*16 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4x2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4x2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4x3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4x3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProvokingVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type VertexProvokingMode.

-> m () 

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

glPushAttrib Source #

Arguments

:: MonadIO m 
=> GLbitfield

mask of type AttribMask.

-> m () 

Manual page for OpenGL 2.x.

glPushClientAttrib Source #

Arguments

:: MonadIO m 
=> GLbitfield

mask of type ClientAttribMask.

-> m () 

Manual page for OpenGL 2.x.

glPushDebugGroup Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLuint

id.

-> GLsizei

length.

-> Ptr GLchar

message pointing to COMPSIZE(message,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

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

Manual page for OpenGL 2.x.

glPushName Source #

Arguments

:: MonadIO m 
=> GLuint

name of type SelectName.

-> m () 

Manual page for OpenGL 2.x.

glQueryCounter Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

target of type QueryCounterTarget.

-> m () 

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

glRasterPos2d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> m () 

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

glRasterPos2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos2f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> m () 

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

glRasterPos2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos2i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> m () 

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

glRasterPos2iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos2s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> m () 

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

glRasterPos2sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos3d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> GLdouble

z of type CoordD.

-> m () 

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

glRasterPos3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos3f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> GLfloat

z of type CoordF.

-> m () 

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

glRasterPos3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos3i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> GLint

z of type CoordI.

-> m () 

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

glRasterPos3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos3s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> GLshort

z of type CoordS.

-> m () 

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

glRasterPos3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos4d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> GLdouble

z of type CoordD.

-> GLdouble

w of type CoordD.

-> m () 

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

glRasterPos4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos4f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> GLfloat

z of type CoordF.

-> GLfloat

w of type CoordF.

-> m () 

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

glRasterPos4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos4i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> GLint

z of type CoordI.

-> GLint

w of type CoordI.

-> m () 

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

glRasterPos4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glRasterPos4s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> GLshort

z of type CoordS.

-> GLshort

w of type CoordS.

-> m () 

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

glRasterPos4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.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.

glRectd Source #

Arguments

:: MonadIO m 
=> GLdouble

x1 of type CoordD.

-> GLdouble

y1 of type CoordD.

-> GLdouble

x2 of type CoordD.

-> GLdouble

y2 of type CoordD.

-> m () 

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

glRectdv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v1 pointing to 2 elements of type CoordD.

-> Ptr GLdouble

v2 pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glRectf Source #

Arguments

:: MonadIO m 
=> GLfloat

x1 of type CoordF.

-> GLfloat

y1 of type CoordF.

-> GLfloat

x2 of type CoordF.

-> GLfloat

y2 of type CoordF.

-> m () 

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

glRectfv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v1 pointing to 2 elements of type CoordF.

-> Ptr GLfloat

v2 pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glRecti Source #

Arguments

:: MonadIO m 
=> GLint

x1 of type CoordI.

-> GLint

y1 of type CoordI.

-> GLint

x2 of type CoordI.

-> GLint

y2 of type CoordI.

-> m () 

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

glRectiv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v1 pointing to 2 elements of type CoordI.

-> Ptr GLint

v2 pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glRects Source #

Arguments

:: MonadIO m 
=> GLshort

x1 of type CoordS.

-> GLshort

y1 of type CoordS.

-> GLshort

x2 of type CoordS.

-> GLshort

y2 of type CoordS.

-> m () 

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

glRectsv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v1 pointing to 2 elements of type CoordS.

-> Ptr GLshort

v2 pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 4.x.

glRenderMode Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type RenderingMode.

-> m GLint 

Manual page for OpenGL 2.x.

glRenderbufferStorage Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glRenderbufferStorageMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target of type RenderbufferTarget.

-> GLsizei

samples.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

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

Manual page for OpenGL 4.x.

glRotated Source #

Arguments

:: MonadIO m 
=> GLdouble

angle.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

Manual page for OpenGL 2.x.

glRotatef Source #

Arguments

:: MonadIO m 
=> GLfloat

angle.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

Manual page for OpenGL 2.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.

glSamplerParameterIiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLint

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

-> m () 

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

glSamplerParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLuint

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

-> m () 

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

glSamplerParameterf Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> GLfloat

param.

-> m () 

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

glSamplerParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLfloat

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

-> m () 

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

glSamplerParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> GLint

param.

-> m () 

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

glSamplerParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterName.

-> Ptr GLint

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

-> m () 

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

glScaled Source #

Arguments

:: MonadIO m 
=> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

Manual page for OpenGL 2.x.

glScalef Source #

Arguments

:: MonadIO m 
=> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

Manual page for OpenGL 2.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.

glScissorArrayv Source #

Arguments

:: MonadIO m 
=> GLuint

first.

-> GLsizei

count.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glScissorIndexed Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

left.

-> GLint

bottom.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glScissorIndexedv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glSecondaryColor3b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> m () 

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

glSecondaryColor3bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> m () 

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

glSecondaryColor3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> m () 

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

glSecondaryColor3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> m () 

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

glSecondaryColor3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> m () 

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

glSecondaryColor3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> m () 

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

glSecondaryColor3ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 3 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> m () 

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

glSecondaryColor3uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 3 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColor3us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> m () 

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

glSecondaryColor3usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 3 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glSecondaryColorP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> GLuint

color.

-> m () 

glSecondaryColorP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ColorPointerType.

-> Ptr GLuint

color pointing to 1 element of type GLuint.

-> m () 

glSecondaryColorPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type ColorPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glSelectBuffer Source #

Arguments

:: MonadIO m 
=> GLsizei

size.

-> Ptr GLuint

buffer pointing to size elements of type SelectName.

-> m () 

Manual page for OpenGL 2.x.

glShadeModel Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type ShadingModel.

-> m () 

Manual page for OpenGL 2.x.

glShaderBinary Source #

Arguments

:: MonadIO m 
=> GLsizei

count.

-> Ptr GLuint

shaders pointing to count elements of type GLuint.

-> GLenum

binaryformat.

-> Ptr a

binary pointing to length elements of type a.

-> GLsizei

length.

-> m () 

Manual page for 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.

glShaderStorageBlockBinding Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

storageBlockIndex.

-> GLuint

storageBlockBinding.

-> m () 

Manual page for 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 of type InternalFormat.

-> GLuint

buffer.

-> m () 

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

glTexBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

Manual page for OpenGL 4.x.

glTexCoord1d Source #

Arguments

:: MonadIO m 
=> GLdouble

s of type CoordD.

-> m () 

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

glTexCoord1dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord1f Source #

Arguments

:: MonadIO m 
=> GLfloat

s of type CoordF.

-> m () 

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

glTexCoord1fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord1i Source #

Arguments

:: MonadIO m 
=> GLint

s of type CoordI.

-> m () 

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

glTexCoord1iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 1 element of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord1s Source #

Arguments

:: MonadIO m 
=> GLshort

s of type CoordS.

-> m () 

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

glTexCoord1sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 1 element of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord2d Source #

Arguments

:: MonadIO m 
=> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> m () 

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

glTexCoord2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord2f Source #

Arguments

:: MonadIO m 
=> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> m () 

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

glTexCoord2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord2i Source #

Arguments

:: MonadIO m 
=> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> m () 

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

glTexCoord2iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord2s Source #

Arguments

:: MonadIO m 
=> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> m () 

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

glTexCoord2sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord3d Source #

Arguments

:: MonadIO m 
=> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> GLdouble

r of type CoordD.

-> m () 

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

glTexCoord3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord3f Source #

Arguments

:: MonadIO m 
=> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> GLfloat

r of type CoordF.

-> m () 

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

glTexCoord3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord3i Source #

Arguments

:: MonadIO m 
=> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> GLint

r of type CoordI.

-> m () 

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

glTexCoord3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord3s Source #

Arguments

:: MonadIO m 
=> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> GLshort

r of type CoordS.

-> m () 

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

glTexCoord3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord4d Source #

Arguments

:: MonadIO m 
=> GLdouble

s of type CoordD.

-> GLdouble

t of type CoordD.

-> GLdouble

r of type CoordD.

-> GLdouble

q of type CoordD.

-> m () 

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

glTexCoord4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord4f Source #

Arguments

:: MonadIO m 
=> GLfloat

s of type CoordF.

-> GLfloat

t of type CoordF.

-> GLfloat

r of type CoordF.

-> GLfloat

q of type CoordF.

-> m () 

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

glTexCoord4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord4i Source #

Arguments

:: MonadIO m 
=> GLint

s of type CoordI.

-> GLint

t of type CoordI.

-> GLint

r of type CoordI.

-> GLint

q of type CoordI.

-> m () 

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

glTexCoord4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glTexCoord4s Source #

Arguments

:: MonadIO m 
=> GLshort

s of type CoordS.

-> GLshort

t of type CoordS.

-> GLshort

r of type CoordS.

-> GLshort

q of type CoordS.

-> m () 

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

glTexCoord4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glTexCoordP1ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glTexCoordP1uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glTexCoordP2ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glTexCoordP2uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glTexCoordP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glTexCoordP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glTexCoordP4ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> GLuint

coords.

-> m () 

glTexCoordP4uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type TexCoordPointerType.

-> Ptr GLuint

coords pointing to 1 element of type GLuint.

-> m () 

glTexCoordPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type TexCoordPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glTexEnvf Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glTexEnvfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glTexEnvi Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glTexEnviv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureEnvTarget.

-> GLenum

pname of type TextureEnvParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glTexGend Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> GLdouble

param.

-> m () 

Manual page for OpenGL 2.x.

glTexGendv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLdouble

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

-> m () 

Manual page for OpenGL 2.x.

glTexGenf Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> GLfloat

param of type CheckedFloat32.

-> m () 

Manual page for OpenGL 2.x.

glTexGenfv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLfloat

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

-> m () 

Manual page for OpenGL 2.x.

glTexGeni Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> GLint

param of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glTexGeniv Source #

Arguments

:: MonadIO m 
=> GLenum

coord of type TextureCoordName.

-> GLenum

pname of type TextureGenParameter.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 2.x.

glTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type InternalFormat.

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

-> 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 of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalformat of type 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 InternalFormat.

-> 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 of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalformat of type 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.

glTexStorage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage2DMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage3DMultisample Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

samples.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

Manual page for 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.

glTextureView Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

target of type TextureTarget.

-> GLuint

origtexture.

-> GLenum

internalformat of type InternalFormat.

-> GLuint

minlevel.

-> GLuint

numlevels.

-> GLuint

minlayer.

-> GLuint

numlayers.

-> m () 

Manual page for 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.

glTranslated Source #

Arguments

:: MonadIO m 
=> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

Manual page for OpenGL 2.x.

glTranslatef Source #

Arguments

:: MonadIO m 
=> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

Manual page for OpenGL 2.x.

glUniform1d Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLdouble

x.

-> m () 

glUniform1dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*1 elements of type GLdouble.

-> m () 

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.

glUniform2d Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLdouble

x.

-> GLdouble

y.

-> m () 

glUniform2dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*2 elements of type GLdouble.

-> m () 

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.

glUniform3d Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

glUniform3dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*3 elements of type GLdouble.

-> m () 

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.

glUniform4d Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

glUniform4dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

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.

glUniformMatrix2dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

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.

glUniformMatrix2x3dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

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.

glUniformMatrix2x4dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

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.

glUniformMatrix3dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*9 elements of type GLdouble.

-> m () 

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.

glUniformMatrix3x2dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

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.

glUniformMatrix3x4dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

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.

glUniformMatrix4dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*16 elements of type GLdouble.

-> m () 

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.

glUniformMatrix4x2dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

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.

glUniformMatrix4x3dv Source #

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

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.

glUniformSubroutinesuiv Source #

Arguments

:: MonadIO m 
=> GLenum

shadertype of type ShaderType.

-> GLsizei

count.

-> Ptr GLuint

indices pointing to count elements of type GLuint.

-> m () 

Manual page for 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.

glUseProgramStages Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLbitfield

stages of type UseProgramStageMask.

-> GLuint

program.

-> m () 

Manual page for 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.

glValidateProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m () 

Manual page for OpenGL 4.x.

glVertex2d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> m () 

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

glVertex2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glVertex2f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> m () 

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

glVertex2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glVertex2i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> m () 

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

glVertex2iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glVertex2s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> m () 

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

glVertex2sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glVertex3d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> GLdouble

z of type CoordD.

-> m () 

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

glVertex3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glVertex3f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> GLfloat

z of type CoordF.

-> m () 

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

glVertex3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glVertex3i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> GLint

z of type CoordI.

-> m () 

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

glVertex3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glVertex3s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> GLshort

z of type CoordS.

-> m () 

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

glVertex3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glVertex4d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> GLdouble

z of type CoordD.

-> GLdouble

w of type CoordD.

-> m () 

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

glVertex4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glVertex4f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> GLfloat

z of type CoordF.

-> GLfloat

w of type CoordF.

-> m () 

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

glVertex4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glVertex4i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> GLint

z of type CoordI.

-> GLint

w of type CoordI.

-> m () 

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

glVertex4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glVertex4s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> GLshort

z of type CoordS.

-> GLshort

w of type CoordS.

-> m () 

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

glVertex4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.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.

glVertexAttribBinding Source #

Arguments

:: MonadIO m 
=> GLuint

attribindex.

-> GLuint

bindingindex.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribDivisor Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLuint

divisor.

-> m () 

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

glVertexAttribFormat Source #

Arguments

:: MonadIO m 
=> GLuint

attribindex.

-> GLint

size.

-> GLenum

type.

-> GLboolean

normalized of type Boolean.

-> GLuint

relativeoffset.

-> m () 

Manual page for 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.

glVertexAttribIFormat Source #

Arguments

:: MonadIO m 
=> GLuint

attribindex.

-> GLint

size.

-> GLenum

type.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribIPointer Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribPointerType.

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

glVertexAttribL1d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL1dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 1 element of type GLdouble.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL2d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL2dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 2 elements of type GLdouble.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL3d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL3dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 3 elements of type GLdouble.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL4d Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribL4dv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribLFormat Source #

Arguments

:: MonadIO m 
=> GLuint

attribindex.

-> GLint

size.

-> GLenum

type of type VertexAttribType.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribLPointer Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribPointerType.

-> GLsizei

stride.

-> Ptr a

pointer pointing to size elements of type a.

-> m () 

Manual page for OpenGL 4.x.

glVertexAttribP1ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLuint

value.

-> m () 

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

glVertexAttribP1uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexAttribP2ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLuint

value.

-> m () 

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

glVertexAttribP2uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexAttribP3ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLuint

value.

-> m () 

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

glVertexAttribP3uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexAttribP4ui Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLuint

value.

-> m () 

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

glVertexAttribP4uiv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

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.

glVertexBindingDivisor Source #

Arguments

:: MonadIO m 
=> GLuint

bindingindex.

-> GLuint

divisor.

-> m () 

Manual page for OpenGL 4.x.

glVertexP2ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> GLuint

value.

-> m () 

glVertexP2uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexP3ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> GLuint

value.

-> m () 

glVertexP3uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexP4ui Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> GLuint

value.

-> m () 

glVertexP4uiv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type VertexPointerType.

-> Ptr GLuint

value pointing to 1 element of type GLuint.

-> m () 

glVertexPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type VertexPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.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.

glViewportArrayv Source #

Arguments

:: MonadIO m 
=> GLuint

first.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to COMPSIZE(count) elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glViewportIndexedf Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

w.

-> GLfloat

h.

-> m () 

Manual page for OpenGL 4.x.

glViewportIndexedfv Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m () 

Manual page for 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.

glWindowPos2d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> m () 

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

glWindowPos2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos2f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> m () 

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

glWindowPos2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos2i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> m () 

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

glWindowPos2iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 2 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos2s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> m () 

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

glWindowPos2sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 2 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos3d Source #

Arguments

:: MonadIO m 
=> GLdouble

x of type CoordD.

-> GLdouble

y of type CoordD.

-> GLdouble

z of type CoordD.

-> m () 

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

glWindowPos3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos3f Source #

Arguments

:: MonadIO m 
=> GLfloat

x of type CoordF.

-> GLfloat

y of type CoordF.

-> GLfloat

z of type CoordF.

-> m () 

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

glWindowPos3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos3i Source #

Arguments

:: MonadIO m 
=> GLint

x of type CoordI.

-> GLint

y of type CoordI.

-> GLint

z of type CoordI.

-> m () 

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

glWindowPos3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type CoordI.

-> m () 

Manual page for OpenGL 2.x.

glWindowPos3s Source #

Arguments

:: MonadIO m 
=> GLshort

x of type CoordS.

-> GLshort

y of type CoordS.

-> GLshort

z of type CoordS.

-> m () 

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

glWindowPos3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type CoordS.

-> m () 

Manual page for OpenGL 2.x.