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

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Safe HaskellNone

Graphics.Rendering.OpenGL.Raw.Core31

Contents

Description

All raw functions, tokens and types from the OpenGL 3.1 core, see http://www.opengl.org/registry/.

Synopsis

Functions

glBufferData :: GLenum -> GLsizeiptr -> Ptr a -> GLenum -> IO ()Source

glBufferSubData :: GLenum -> GLintptr -> GLsizeiptr -> Ptr a -> IO ()Source

glClearBufferiv :: GLenum -> GLint -> Ptr GLint -> IO ()Source

glDrawElements :: GLenum -> GLsizei -> GLenum -> Ptr a -> IO ()Source

glDrawRangeElements :: GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr a -> IO ()Source

glFlush :: IO ()Source

glGenBuffers :: GLsizei -> Ptr GLuint -> IO ()Source

glGenQueries :: GLsizei -> Ptr GLuint -> IO ()Source

glGetActiveAttrib :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> IO ()Source

glGetActiveUniform :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> IO ()Source

glGetBufferPointerv :: GLenum -> GLenum -> Ptr (Ptr a) -> IO ()Source

glGetFloatv :: GLenum -> Ptr GLfloat -> IO ()Source

glGetIntegerv :: GLenum -> Ptr GLint -> IO ()Source

glGetPointerv :: GLenum -> Ptr (Ptr a) -> IO ()Source

glGetProgramiv :: GLuint -> GLenum -> Ptr GLint -> IO ()Source

glGetQueryiv :: GLenum -> GLenum -> Ptr GLint -> IO ()Source

glGetShaderSource :: GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()Source

glGetShaderiv :: GLuint -> GLenum -> Ptr GLint -> IO ()Source

glGetTexImage :: GLenum -> GLint -> GLenum -> GLenum -> Ptr a -> IO ()Source

glGetUniformiv :: GLuint -> GLint -> Ptr GLint -> IO ()Source

glGetVertexAttribPointerv :: GLuint -> GLenum -> Ptr (Ptr a) -> IO ()Source

glHint :: GLenum -> GLenum -> IO ()Source

glMapBuffer :: GLenum -> GLenum -> IO (Ptr a)Source

glMultiDrawArrays :: GLenum -> Ptr GLint -> Ptr GLsizei -> GLsizei -> IO ()Source

glMultiDrawElements :: GLenum -> Ptr GLsizei -> GLenum -> Ptr (Ptr a) -> GLsizei -> IO ()Source

glReadPixels :: GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr a -> IO ()Source

glShaderSource :: GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> IO ()Source

glTexImage1D :: GLenum -> GLint -> GLint -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr a -> IO ()Source

glTexImage2D :: GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr a -> IO ()Source

glTexImage3D :: GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr a -> IO ()Source

glTexSubImage1D :: GLenum -> GLint -> GLint -> GLsizei -> GLenum -> GLenum -> Ptr a -> IO ()Source

glTexSubImage2D :: GLenum -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr a -> IO ()Source

glTexSubImage3D :: GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr a -> IO ()Source

glUniform1fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()Source

glUniform1iv :: GLint -> GLsizei -> Ptr GLint -> IO ()Source

glUniform1uiv :: GLint -> GLsizei -> Ptr GLuint -> IO ()Source

glUniform2fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()Source

glUniform2iv :: GLint -> GLsizei -> Ptr GLint -> IO ()Source

glUniform2uiv :: GLint -> GLsizei -> Ptr GLuint -> IO ()Source

glUniform3fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()Source

glUniform3i :: GLint -> GLint -> GLint -> GLint -> IO ()Source

glUniform3iv :: GLint -> GLsizei -> Ptr GLint -> IO ()Source

glUniform3uiv :: GLint -> GLsizei -> Ptr GLuint -> IO ()Source

glUniform4fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()Source

glUniform4i :: GLint -> GLint -> GLint -> GLint -> GLint -> IO ()Source

glUniform4iv :: GLint -> GLsizei -> Ptr GLint -> IO ()Source

glUniform4uiv :: GLint -> GLsizei -> Ptr GLuint -> IO ()Source

Tokens

Types

Extensions promoted to OpenGL 3.1 core