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

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

Graphics.GL.Version14

Contents

Description

 

Synopsis

Types

type GLbitfield = Word32 Source #

32bit bit field.

type GLboolean = Word8 Source #

8bit boolean.

type GLbyte = Int8 Source #

8bit signed two's complement binary integer.

type 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 GLint = Int32 Source #

32bit 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 GLubyte = Word8 Source #

8bit unsigned binary integer.

type GLuint = Word32 Source #

32bit unsigned binary integer.

type GLushort = Word16 Source #

16bit unsigned binary integer.

type GLvoid = () Source #

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

Enums

pattern GL_2D :: GLenum Source #

pattern GL_3D :: GLenum Source #

pattern GL_ACCUM :: GLenum Source #

pattern GL_ADD :: GLenum Source #

pattern GL_ALPHA :: GLenum Source #

pattern GL_AND :: GLenum Source #

pattern GL_AUX0 :: GLenum Source #

pattern GL_AUX1 :: GLenum Source #

pattern GL_AUX2 :: GLenum Source #

pattern GL_AUX3 :: GLenum Source #

pattern GL_BACK :: GLenum Source #

pattern GL_BGR :: GLenum Source #

pattern GL_BGRA :: GLenum Source #

pattern GL_BLEND :: GLenum Source #

pattern GL_BLUE :: GLenum Source #

pattern GL_BYTE :: GLenum Source #

pattern GL_CCW :: GLenum Source #

pattern GL_CLAMP :: GLenum Source #

pattern GL_CLEAR :: GLenum Source #

pattern GL_COEFF :: GLenum Source #

pattern GL_COLOR :: GLenum Source #

pattern GL_COPY :: GLenum Source #

pattern GL_CW :: GLenum Source #

pattern GL_DECAL :: GLenum Source #

pattern GL_DECR :: GLenum Source #

pattern GL_DEPTH :: GLenum Source #

pattern GL_EQUAL :: GLenum Source #

pattern GL_EQUIV :: GLenum Source #

pattern GL_EXP :: GLenum Source #

pattern GL_EXP2 :: GLenum Source #

pattern GL_FILL :: GLenum Source #

pattern GL_FLAT :: GLenum Source #

pattern GL_FLOAT :: GLenum Source #

pattern GL_FOG :: GLenum Source #

pattern GL_FRONT :: GLenum Source #

pattern GL_GREEN :: GLenum Source #

pattern GL_INCR :: GLenum Source #

pattern GL_INT :: GLenum Source #

pattern GL_KEEP :: GLenum Source #

pattern GL_LEFT :: GLenum Source #

pattern GL_LESS :: GLenum Source #

pattern GL_LINE :: GLenum Source #

pattern GL_LINES :: GLenum Source #

pattern GL_LOAD :: GLenum Source #

pattern GL_MAX :: GLenum Source #

pattern GL_MIN :: GLenum Source #

pattern GL_MULT :: GLenum Source #

pattern GL_NAND :: GLenum Source #

pattern GL_NEVER :: GLenum Source #

pattern GL_NONE :: GLenum Source #

pattern GL_NOOP :: GLenum Source #

pattern GL_NOR :: GLenum Source #

pattern GL_ONE :: GLenum Source #

pattern GL_OR :: GLenum Source #

pattern GL_ORDER :: GLenum Source #

pattern GL_POINT :: GLenum Source #

pattern GL_Q :: GLenum Source #

pattern GL_QUADS :: GLenum Source #

pattern GL_R :: GLenum Source #

pattern GL_RED :: 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_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_T :: GLenum Source #

pattern GL_V2F :: GLenum Source #

pattern GL_V3F :: GLenum Source #

pattern GL_XOR :: GLenum Source #

pattern GL_ZERO :: GLenum Source #

Functions

glAccum Source #

Arguments

:: MonadIO m 
=> GLenum

op of type AccumOp.

-> GLfloat

value of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

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

glAlphaFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type AlphaFunction.

-> GLfloat

ref.

-> m () 

Manual page for OpenGL 2.x.

glAreTexturesResident Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> m GLboolean

of type Boolean.

Manual page for OpenGL 2.x.

glArrayElement Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glBegin Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> m () 

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

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

-> m () 

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

glBlendFunc Source #

Arguments

:: MonadIO m 
=> GLenum

sfactor of type BlendingFactorSrc.

-> GLenum

dfactor of type BlendingFactorDest.

-> m () 

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

glBlendFuncSeparate Source #

Arguments

:: MonadIO m 
=> GLenum

sfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

sfactorAlpha of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorAlpha of type BlendFuncSeparateParameterEXT.

-> m () 

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

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.

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.

glClearColor Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glClearDepth Source #

Arguments

:: MonadIO m 
=> GLdouble

depth.

-> m () 

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

glClearIndex Source #

Arguments

:: MonadIO m 
=> GLfloat

c of type MaskedColorIndexValueF.

-> m () 

Manual page for OpenGL 2.x.

glClearStencil Source #

Arguments

:: MonadIO m 
=> GLint

s of type StencilValue.

-> m () 

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

glClientActiveTexture Source #

Arguments

:: MonadIO m 
=> GLenum

texture of type TextureUnit.

-> m () 

Manual page for OpenGL 2.x.

glClipPlane Source #

Arguments

:: MonadIO m 
=> GLenum

plane of type ClipPlaneName.

-> Ptr GLdouble

equation pointing to 4 elements of type GLdouble.

-> m () 

Manual page for OpenGL 2.x.

glColor3b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> m () 

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

glColor3bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor3d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> m () 

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

glColor3dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor3f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> m () 

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

glColor3fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor3i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> m () 

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

glColor3iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor3s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> m () 

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

glColor3sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor3ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> m () 

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

glColor3ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 3 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor3ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> m () 

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

glColor3uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 3 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor3us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> m () 

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

glColor3usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 3 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColor4b Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> GLbyte

alpha of type ColorB.

-> m () 

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

glColor4bv Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 4 elements of type ColorB.

-> m () 

Manual page for OpenGL 2.x.

glColor4d Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> GLdouble

alpha of type ColorD.

-> m () 

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

glColor4dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 4 elements of type ColorD.

-> m () 

Manual page for OpenGL 2.x.

glColor4f Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> m () 

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

glColor4fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 4 elements of type ColorF.

-> m () 

Manual page for OpenGL 2.x.

glColor4i Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> GLint

alpha of type ColorI.

-> m () 

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

glColor4iv Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 4 elements of type ColorI.

-> m () 

Manual page for OpenGL 2.x.

glColor4s Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> GLshort

alpha of type ColorS.

-> m () 

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

glColor4sv Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 4 elements of type ColorS.

-> m () 

Manual page for OpenGL 2.x.

glColor4ub Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> GLubyte

alpha of type ColorUB.

-> m () 

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

glColor4ubv Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 4 elements of type ColorUB.

-> m () 

Manual page for OpenGL 2.x.

glColor4ui Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> GLuint

alpha of type ColorUI.

-> m () 

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

glColor4uiv Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 4 elements of type ColorUI.

-> m () 

Manual page for OpenGL 2.x.

glColor4us Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> GLushort

alpha of type ColorUS.

-> m () 

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

glColor4usv Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 4 elements of type ColorUS.

-> m () 

Manual page for OpenGL 2.x.

glColorMask Source #

Arguments

:: MonadIO m 
=> GLboolean

red of type Boolean.

-> GLboolean

green of type Boolean.

-> GLboolean

blue of type Boolean.

-> GLboolean

alpha of type Boolean.

-> m () 

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

glColorMaterial Source #

Arguments

:: MonadIO m 
=> GLenum

face of type MaterialFace.

-> GLenum

mode of type ColorMaterialParameter.

-> m () 

Manual page for OpenGL 2.x.

glColorPointer Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type ColorPointerType.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glCompressedTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCompressedTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

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

glCopyPixels Source #

Arguments

:: MonadIO m 
=> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

type of type PixelCopyType.

-> m () 

Manual page for OpenGL 2.x.

glCopyTexImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> m () 

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

glCopyTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

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

glCopyTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

glCopyTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

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

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.

glDeleteLists Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> GLsizei

range.

-> m () 

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

glDepthFunc Source #

Arguments

:: MonadIO m 
=> GLenum

func of type DepthFunction.

-> m () 

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

glDepthMask Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

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

glDepthRange Source #

Arguments

:: MonadIO m 
=> GLdouble

near.

-> GLdouble

far.

-> m () 

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

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.

glDrawArrays Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> m () 

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

glDrawBuffer Source #

Arguments

:: MonadIO m 
=> GLenum

buf of type DrawBufferMode.

-> m () 

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

glDrawElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> m () 

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

glDrawPixels Source #

Arguments

:: MonadIO m 
=> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glDrawRangeElements Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> m () 

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

glEdgeFlag Source #

Arguments

:: MonadIO m 
=> GLboolean

flag of type Boolean.

-> m () 

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

glEdgeFlagPointer Source #

Arguments

:: MonadIO m 
=> GLsizei

stride.

-> Ptr a

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

-> m () 

Manual page for OpenGL 2.x.

glEdgeFlagv Source #

Arguments

:: MonadIO m 
=> Ptr GLboolean

flag pointing to 1 element of type Boolean.

-> m () 

Manual page for OpenGL 2.x.

glEnable Source #

Arguments

:: MonadIO m 
=> GLenum

cap of type EnableCap.

-> m () 

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

glEnableClientState Source #

Arguments

:: MonadIO m 
=> GLenum

array of type EnableCap.

-> m () 

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

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

Manual page for OpenGL 2.x.

glEvalCoord1d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> m () 

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

glEvalCoord1dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 1 element of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord1f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> m () 

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

glEvalCoord1fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 1 element of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2d Source #

Arguments

:: MonadIO m 
=> GLdouble

u of type CoordD.

-> GLdouble

v of type CoordD.

-> m () 

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

glEvalCoord2dv Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

u pointing to 2 elements of type CoordD.

-> m () 

Manual page for OpenGL 2.x.

glEvalCoord2f Source #

Arguments

:: MonadIO m 
=> GLfloat

u of type CoordF.

-> GLfloat

v of type CoordF.

-> m () 

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

glEvalCoord2fv Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

u pointing to 2 elements of type CoordF.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh1 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode1.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalMesh2 Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type MeshMode2.

-> GLint

i1 of type CheckedInt32.

-> GLint

i2 of type CheckedInt32.

-> GLint

j1 of type CheckedInt32.

-> GLint

j2 of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint1 Source #

Arguments

:: MonadIO m 
=> GLint

i.

-> m () 

Manual page for OpenGL 2.x.

glEvalPoint2 Source #

Arguments

:: MonadIO m 
=> GLint

i of type CheckedInt32.

-> GLint

j of type CheckedInt32.

-> m () 

Manual page for OpenGL 2.x.

glFeedbackBuffer Source #

Arguments

:: MonadIO m 
=> GLsizei

size.

-> GLenum

type of type FeedbackType.

-> Ptr GLfloat

buffer pointing to size elements of type FeedbackElement.

-> m () 

Manual page for OpenGL 2.x.

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

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

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

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

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.

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.

glGenLists Source #

Arguments

:: MonadIO m 
=> GLsizei

range.

-> m GLuint

of type List.

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

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.

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.

glGetDoublev Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLdouble

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

-> m () 

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

glGetError Source #

Arguments

:: MonadIO m 
=> m GLenum

of type ErrorCode.

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

glGetFloatv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLfloat

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

-> m () 

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

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.

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.

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.

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.

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.

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.

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.

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.

glIsList Source #

Arguments

:: MonadIO m 
=> GLuint

list of type List.

-> m GLboolean

of type Boolean.

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

Manual page for OpenGL 2.x.

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

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

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.

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.

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.

glRenderMode Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type RenderingMode.

-> m GLint 

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

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.

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.

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.

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.

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.

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.

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.

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

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type TextureComponentCount.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

internalformat of type TextureComponentCount.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexParameterf Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLfloat

param of type CheckedFloat32.

-> m () 

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

glTexParameterfv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLfloat

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

-> m () 

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

glTexParameteri Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> GLint

param of type CheckedInt32.

-> m () 

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

glTexParameteriv Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

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

-> m () 

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

glTexSubImage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexSubImage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

glTexSubImage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

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

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.

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.

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.

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.