opengles-0.4.0: OpenGL ES 2.0 and 3.0 with EGL 1.4

Safe HaskellNone
LanguageHaskell2010

Graphics.OpenGLES.Internal

Contents

Synopsis

Internal

Logging

GL Error

GL Object management

newGLO :: (GLsizei -> Ptr GLuint -> GL ()) -> (GLuint -> GL ()) -> (GLsizei -> Ptr GLuint -> GL ()) -> GL GLO Source

genObj :: GLO -> (GLsizei -> Ptr GLuint -> GL ()) -> (GLuint -> GL ()) -> (GLsizei -> Ptr GLuint -> GL ()) -> GL GLuint Source

genObj glo glGenBuffers glDeleteBuffers

Buffer

newtype BufferUsage Source

Constructors

BufferUsage GLenum 

newtype BufferSlot Source

Constructors

BufferSlot GLenum 

DrawMode

newtype DrawMode Source

Constructors

DrawMode GLenum 

Graphics State

newtype Capability Source

Constructors

Capability GLenum 

newtype CullFace Source

Constructors

Culling GLenum 

newtype CompFunc Source

Constructors

CompFunc GLenum 

newtype StencilOp Source

Constructors

StencilOp GLenum 

newtype BlendOp Source

Constructors

BlendOp GLenum 

newtype Hint Source

Constructors

Hint GLenum 

Programmable Shader

type VarDesc = (String, (GLint, GLsizei, GLenum)) Source

name: (location, length of array, type)

Uniform

newtype Uniform p a Source

Constructors

Uniform (GLint, GLsizei, Ptr ()) 

Attrib

Vertex Array Object

newtype VertexArray p Source

Constructors

VertexArray (GLO, GL ()) 

Vertex Picker

newtype VertexPicker Source

Constructors

VertexPicker (GLenum -> GL Bool) 

class VertexIx a where Source

Methods

vxix :: m a -> (GLenum, GLint) Source

Draw Operation