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.ARB.ShaderObjects

Contents

Description

All raw functions and tokens from the ARB_shader_objects extension, see http://www.opengl.org/registry/specs/ARB/shader_objects.txt.

Synopsis

Functions

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

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

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

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

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

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

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

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

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

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

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

glGetInfoLog :: GLhandle -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()Source

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

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

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

Tokens

gl_OBJECT_TYPE_ARB :: GLenumSource

Note: We use the ARB suffix here, because the name clashes with the ARB_sync extension.

Types

type GLhandle = CUIntSource