opengles-0.8.3: Functional interface for OpenGL 4.1+ and OpenGL ES 2.0+

Safe HaskellNone
LanguageHaskell2010

Graphics.OpenGLES.Base

Contents

Description

definition from gl3.h

Synopsis

Basic Types

type GL = IO Source

IO actions run in GL thread.

type GLName = String Source

Name of a shader, program, and variable.

OpenGL ES 2.0

type GLboolean = Word8 Source

1bit boolean

type GLbyte = Int8 Source

8bit signed two's complement binary integer

type GLubyte = Word8 Source

8bit unsigned binary integer

type GLchar = Int8 Source

(Unused) 8bit characters making up strings

type GLshort = Int16 Source

16bit signed two's complement binary integer

type GLushort = Word16 Source

16bit unsigned binary integer

type GLint = Int32 Source

32bit signed two's complement binary integer

type GLuint = Word32 Source

32bit unsigned binary integer

type GLfixed = Int32 Source

32bit signed two's complement 16.16 scaled integer

type GLsizei = Int32 Source

32bit non-negative binary integer size

type GLenum = Word32 Source

32bit enumerated binary integer value

type GLintptr = Int Source

Pointer-sized signed two's complement binary integer

type GLsizeiptr = Int Source

Pointer-sized non-negative binary integer size

type GLbitfield = Word32 Source

32bit bit field

type GLfloat = Float Source

32bit floating-point value

type GLclampf = Float Source

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

OpenGL ES 3.0

type GLint64 = Int64 Source

64bit signed two's complement binary integer

type GLuint64 = Word64 Source

64bit unsigned binary integer

type GLsync = Ptr () Source

Pointer-sized sync object handle

type GLhalf = Word16 Source

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

Bindings

OpenGL ES 2.0

OpenGL ES 3.0

Extensions

OpenGL ES 3.1