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

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

Graphics.Rendering.OpenGL.Raw.Compatibility41

Contents

Description

 

Synopsis

Types

type GLbitfield = CUInt Source

32bit bit field.

type GLboolean = CUChar Source

8bit boolean.

type GLbyte = CSChar Source

8bit signed two's complement binary integer.

type GLchar = CChar Source

8bit characters making up strings.

type GLclampd = CDouble Source

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

type GLclampf = CFloat Source

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

type GLdouble = CDouble Source

64bit floating-point value.

type GLenum = CUInt Source

32bit enumerated binary integer value.

type GLfloat = CFloat Source

32bit floating-point value.

type GLhalf = CUShort Source

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

type GLint = CInt Source

32bit signed two's complement binary integer.

type GLint64 = Int64 Source

64bit signed two's complement binary integer.

type GLintptr = CPtrdiff Source

Pointer-sized signed two's complement binary integer.

type GLshort = CShort Source

16bit signed two's complement binary integer.

type GLsizei = CInt Source

32bit non-negative binary integer size.

type GLsizeiptr = CPtrdiff Source

Pointer-sized non-negative binary integer size.

type GLsync = Ptr () Source

Pointer-sized sync object handle.

type GLubyte = CUChar Source

8bit unsigned binary integer.

type GLuint = CUInt Source

32bit unsigned binary integer.

type GLuint64 = Word64 Source

64bit unsigned binary integer.

type GLushort = CUShort Source

16bit unsigned binary integer.

type GLvoid = () Source

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

Enums

Functions

glAccum Source

Arguments

:: GLenum

op of type AccumOp.

-> GLfloat

value of type CoordF.

-> IO () 

Manual page for OpenGL 2.x

glActiveShaderProgram Source

Arguments

:: GLuint

pipeline.

-> GLuint

program.

-> IO () 

Manual page for OpenGL 4.x

glActiveTexture Source

Arguments

:: GLenum

texture of type TextureUnit.

-> IO () 

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

glAlphaFunc Source

Arguments

:: GLenum

func of type AlphaFunction.

-> GLfloat

ref.

-> IO () 

Manual page for OpenGL 2.x

glAreTexturesResident Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> IO GLboolean

of type Boolean.

Manual page for OpenGL 2.x

glArrayElement Source

Arguments

:: GLint

i.

-> IO () 

Manual page for OpenGL 2.x

glAttachShader Source

Arguments

:: GLuint

program.

-> GLuint

shader.

-> IO () 

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

glBegin Source

Arguments

:: GLenum

mode of type PrimitiveType.

-> IO () 

Manual page for OpenGL 2.x

glBeginConditionalRender Source

Arguments

:: GLuint

id.

-> GLenum

mode of type TypeEnum.

-> IO () 

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

glBeginQuery Source

Arguments

:: GLenum

target.

-> GLuint

id.

-> IO () 

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

glBeginQueryIndexed Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

id.

-> IO () 

Manual page for OpenGL 4.x

glBeginTransformFeedback Source

Arguments

:: GLenum

primitiveMode.

-> IO () 

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

glBindAttribLocation Source

Arguments

:: GLuint

program.

-> GLuint

index.

-> Ptr GLchar

name.

-> IO () 

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

glBindBuffer Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> IO () 

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

glBindBufferBase Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> IO () 

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

glBindBufferRange Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> IO () 

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

glBindFragDataLocation Source

Arguments

:: GLuint

program.

-> GLuint

color.

-> Ptr GLchar

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

-> IO () 

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

glBindFragDataLocationIndexed Source

Arguments

:: GLuint

program.

-> GLuint

colorNumber.

-> GLuint

index.

-> Ptr GLchar

name.

-> IO () 

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

glBindFramebuffer Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> GLuint

framebuffer.

-> IO () 

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

glBindProgramPipeline Source

Arguments

:: GLuint

pipeline.

-> IO () 

Manual page for OpenGL 4.x

glBindRenderbuffer Source

Arguments

:: GLenum

target of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> IO () 

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

glBindSampler Source

Arguments

:: GLuint

unit.

-> GLuint

sampler.

-> IO () 

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

glBindTexture Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLuint

texture of type Texture.

-> IO () 

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

glBindTransformFeedback Source

Arguments

:: GLenum

target.

-> GLuint

id.

-> IO () 

Manual page for OpenGL 4.x

glBindVertexArray Source

Arguments

:: GLuint

array.

-> IO () 

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

glBitmap Source

Arguments

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

-> IO () 

Manual page for OpenGL 2.x

glBlendColor Source

Arguments

:: GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> GLfloat

alpha of type ColorF.

-> IO () 

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

glBlendEquation Source

Arguments

:: GLenum

mode of type BlendEquationMode.

-> IO () 

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

glBlendEquationSeparate Source

Arguments

:: GLenum

modeRGB of type BlendEquationModeEXT.

-> GLenum

modeAlpha of type BlendEquationModeEXT.

-> IO () 

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

glBlendEquationSeparatei Source

Arguments

:: GLuint

buf.

-> GLenum

modeRGB.

-> GLenum

modeAlpha.

-> IO () 

Manual page for OpenGL 4.x

glBlendEquationi Source

Arguments

:: GLuint

buf.

-> GLenum

mode.

-> IO () 

Manual page for OpenGL 4.x

glBlendFunc Source

Arguments

:: GLenum

sfactor of type BlendingFactorSrc.

-> GLenum

dfactor of type BlendingFactorDest.

-> IO () 

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

glBlendFuncSeparate Source

Arguments

:: GLenum

sfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorRGB of type BlendFuncSeparateParameterEXT.

-> GLenum

sfactorAlpha of type BlendFuncSeparateParameterEXT.

-> GLenum

dfactorAlpha of type BlendFuncSeparateParameterEXT.

-> IO () 

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

glBlendFuncSeparatei Source

Arguments

:: GLuint

buf.

-> GLenum

srcRGB.

-> GLenum

dstRGB.

-> GLenum

srcAlpha.

-> GLenum

dstAlpha.

-> IO () 

Manual page for OpenGL 4.x

glBlendFunci Source

Arguments

:: GLuint

buf.

-> GLenum

src.

-> GLenum

dst.

-> IO () 

Manual page for OpenGL 4.x

glBlitFramebuffer Source

Arguments

:: GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask of type ClearBufferMask.

-> GLenum

filter.

-> IO () 

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

glBufferData Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> IO () 

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

glBufferSubData Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> IO () 

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

glCallList Source

Arguments

:: GLuint

list of type List.

-> IO () 

Manual page for OpenGL 2.x

glCallLists Source

Arguments

:: GLsizei

n.

-> GLenum

type of type ListNameType.

-> Ptr a

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

-> IO () 

Manual page for OpenGL 2.x

glCheckFramebufferStatus Source

Arguments

:: GLenum

target of type FramebufferTarget.

-> IO GLenum 

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

glClampColor Source

Arguments

:: GLenum

target of type ClampColorTargetARB.

-> GLenum

clamp of type ClampColorModeARB.

-> IO () 

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

glClear Source

Arguments

:: GLbitfield

mask of type ClearBufferMask.

-> IO () 

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