| OpenGLRaw-1.1.0.1: A raw binding for the OpenGL graphics system | Source code | Contents | Index
Graphics.Rendering.OpenGL.Raw.ARB.ShaderObjects |
Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Contents
Functions Tokens Types
Description
All raw functions and tokens from the ARB_shader_objects extension, see http://www.opengl.org/registry/specs/ARB/shader_objects.txt.
Synopsis
glDeleteObject :: GLhandle -> IO ()
glGetHandle :: GLenum -> IO GLhandle
glDetachObject :: GLhandle -> GLhandle -> IO ()
glCreateShaderObject :: GLenum -> IO GLhandle
glShaderSource :: GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> IO ()
glCompileShader :: GLuint -> IO ()
glCreateProgramObject :: IO GLhandle
glAttachObject :: GLhandle -> GLhandle -> IO ()
glLinkProgram :: GLuint -> IO ()
glUseProgramObject :: GLhandle -> IO ()
glValidateProgram :: GLuint -> IO ()
glUniform1f :: GLint -> GLfloat -> IO ()
glUniform2f :: GLint -> GLfloat -> GLfloat -> IO ()
glUniform3f :: GLint -> GLfloat -> GLfloat -> GLfloat -> IO ()
glUniform4f :: GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()
glUniform1i :: GLint -> GLint -> IO ()
glUniform2i :: GLint -> GLint -> GLint -> IO ()
glUniform3i :: GLint -> GLint -> GLint -> GLint -> IO ()
glUniform4i :: GLint -> GLint -> GLint -> GLint -> GLint -> IO ()
glUniform1fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()
glUniform2fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()
glUniform3fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()
glUniform4fv :: GLint -> GLsizei -> Ptr GLfloat -> IO ()
glUniform1iv :: GLint -> GLsizei -> Ptr GLint -> IO ()
glUniform2iv :: GLint -> GLsizei -> Ptr GLint -> IO ()
glUniform3iv :: GLint -> GLsizei -> Ptr GLint -> IO ()
glUniform4iv :: GLint -> GLsizei -> Ptr GLint -> IO ()
glUniformMatrix2fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO ()
glUniformMatrix3fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO ()
glUniformMatrix4fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO ()
glGetObjectParameterfv :: GLhandle -> GLenum -> Ptr GLfloat -> IO ()
glGetObjectParameteriv :: GLhandle -> GLenum -> Ptr GLint -> IO ()
glGetInfoLog :: GLhandle -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()
glGetAttachedObjects :: GLhandle -> GLsizei -> Ptr GLsizei -> Ptr GLhandle -> IO ()
glGetUniformLocation :: GLuint -> Ptr GLchar -> IO GLint
glGetActiveUniform :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> IO ()
glGetUniformfv :: GLuint -> GLint -> Ptr GLfloat -> IO ()
glGetUniformiv :: GLuint -> GLint -> Ptr GLint -> IO ()
glGetShaderSource :: GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()
gl_PROGRAM_OBJECT :: GLenum
gl_OBJECT_TYPE_ARB :: GLenum
gl_OBJECT_SUBTYPE :: GLenum
gl_OBJECT_DELETE_STATUS :: GLenum
gl_OBJECT_COMPILE_STATUS :: GLenum
gl_OBJECT_LINK_STATUS :: GLenum
gl_OBJECT_VALIDATE_STATUS :: GLenum
gl_OBJECT_INFO_LOG_LENGTH :: GLenum
gl_OBJECT_ATTACHED_OBJECTS :: GLenum
gl_OBJECT_ACTIVE_UNIFORMS :: GLenum
gl_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH :: GLenum
gl_OBJECT_SHADER_SOURCE_LENGTH :: GLenum
gl_SHADER_OBJECT :: GLenum
gl_FLOAT :: GLenum
gl_FLOAT_VEC2 :: GLenum
gl_FLOAT_VEC3 :: GLenum
gl_FLOAT_VEC4 :: GLenum
gl_INT :: GLenum
gl_INT_VEC2 :: GLenum
gl_INT_VEC3 :: GLenum
gl_INT_VEC4 :: GLenum
gl_BOOL :: GLenum
gl_BOOL_VEC2 :: GLenum
gl_BOOL_VEC3 :: GLenum
gl_BOOL_VEC4 :: GLenum
gl_FLOAT_MAT2 :: GLenum
gl_FLOAT_MAT3 :: GLenum
gl_FLOAT_MAT4 :: GLenum
gl_SAMPLER_1D :: GLenum
gl_SAMPLER_2D :: GLenum
gl_SAMPLER_3D :: GLenum
gl_SAMPLER_CUBE :: GLenum
gl_SAMPLER_1D_SHADOW :: GLenum
gl_SAMPLER_2D_SHADOW :: GLenum
gl_SAMPLER_2D_RECT :: GLenum
gl_SAMPLER_2D_RECT_SHADOW :: GLenum
data GLhandle
Functions
glDeleteObject :: GLhandle -> IO () | Source
glGetHandle :: GLenum -> IO GLhandle | Source
glDetachObject :: GLhandle -> GLhandle -> IO () | Source
glCreateShaderObject :: GLenum -> IO GLhandle | Source
glShaderSource :: GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> IO () | Source
glCompileShader :: GLuint -> IO () | Source
glCreateProgramObject :: IO GLhandle | Source
glAttachObject :: GLhandle -> GLhandle -> IO () | Source
glLinkProgram :: GLuint -> IO () | Source
glUseProgramObject :: GLhandle -> IO () | Source
glValidateProgram :: GLuint -> IO () | Source
glUniform1f :: GLint -> GLfloat -> IO () | Source
glUniform2f :: GLint -> GLfloat -> GLfloat -> IO () | Source
glUniform3f :: GLint -> GLfloat -> GLfloat -> GLfloat -> IO () | Source
glUniform4f :: GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO () | Source
glUniform1i :: GLint -> GLint -> IO () | Source
glUniform2i :: GLint -> GLint -> 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
glUniformMatrix2fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO () | Source
glUniformMatrix3fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO () | Source
glUniformMatrix4fv :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO () | Source
glGetObjectParameterfv :: GLhandle -> GLenum -> Ptr GLfloat -> IO () | Source
glGetObjectParameteriv :: GLhandle -> GLenum -> Ptr GLint -> IO () | Source
glGetInfoLog :: GLhandle -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO () | Source
glGetAttachedObjects :: GLhandle -> GLsizei -> Ptr GLsizei -> Ptr GLhandle -> IO () | Source
glGetUniformLocation :: GLuint -> Ptr GLchar -> IO GLint | Source
glGetActiveUniform :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> IO () | Source
glGetUniformfv :: GLuint -> GLint -> Ptr GLfloat -> IO () | Source
glGetUniformiv :: GLuint -> GLint -> Ptr GLint -> IO () | Source
glGetShaderSource :: GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO () | Source
Tokens
gl_PROGRAM_OBJECT :: GLenum | Source
gl_OBJECT_TYPE_ARB :: GLenum | Source
Note: We use the ARB suffix here, because the name clashes with the ARB_sync extension.
gl_OBJECT_SUBTYPE :: GLenum | Source
gl_OBJECT_DELETE_STATUS :: GLenum | Source
gl_OBJECT_COMPILE_STATUS :: GLenum | Source
gl_OBJECT_LINK_STATUS :: GLenum | Source
gl_OBJECT_VALIDATE_STATUS :: GLenum | Source
gl_OBJECT_INFO_LOG_LENGTH :: GLenum | Source
gl_OBJECT_ATTACHED_OBJECTS :: GLenum | Source
gl_OBJECT_ACTIVE_UNIFORMS :: GLenum | Source
gl_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH :: GLenum | Source
gl_OBJECT_SHADER_SOURCE_LENGTH :: GLenum | Source
gl_SHADER_OBJECT :: GLenum | Source
gl_FLOAT :: GLenum | Source
gl_FLOAT_VEC2 :: GLenum | Source
gl_FLOAT_VEC3 :: GLenum | Source
gl_FLOAT_VEC4 :: GLenum | Source
gl_INT :: GLenum | Source
gl_INT_VEC2 :: GLenum | Source
gl_INT_VEC3 :: GLenum | Source
gl_INT_VEC4 :: GLenum | Source
gl_BOOL :: GLenum | Source
gl_BOOL_VEC2 :: GLenum | Source
gl_BOOL_VEC3 :: GLenum | Source
gl_BOOL_VEC4 :: GLenum | Source
gl_FLOAT_MAT2 :: GLenum | Source
gl_FLOAT_MAT3 :: GLenum | Source
gl_FLOAT_MAT4 :: GLenum | Source
gl_SAMPLER_1D :: GLenum | Source
gl_SAMPLER_2D :: GLenum | Source
gl_SAMPLER_3D :: GLenum | Source
gl_SAMPLER_CUBE :: GLenum | Source
gl_SAMPLER_1D_SHADOW :: GLenum | Source
gl_SAMPLER_2D_SHADOW :: GLenum | Source
gl_SAMPLER_2D_RECT :: GLenum | Source
gl_SAMPLER_2D_RECT_SHADOW :: GLenum | Source
Types
data GLhandle | Source
Instances
Bounded GLhandle
Enum GLhandle
Eq GLhandle
Integral GLhandle
Num GLhandle
Ord GLhandle
Read GLhandle
Real GLhandle
Show GLhandle
Typeable GLhandle
Storable GLhandle
Bits GLhandle
Produced by Haddock version 2.4.2