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

Copyright | (c) Sven Panne 2013
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell98

Graphics.Rendering.OpenGL.Raw.ARB.UniformBufferObject

Contents

- Functions
- Tokens

Description

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

Synopsis

- glGetUniformIndices :: GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLuint -> IO ()
- glGetActiveUniformsiv :: GLuint -> GLsizei -> Ptr GLuint -> GLenum -> Ptr GLint -> IO ()
- glGetActiveUniformName :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()
- glGetUniformBlockIndex :: GLuint -> Ptr GLchar -> IO GLuint
- glGetActiveUniformBlockiv :: GLuint -> GLuint -> GLenum -> Ptr GLint -> IO ()
- glGetActiveUniformBlockName :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()
- glBindBufferRange :: GLenum -> GLuint -> GLuint -> GLintptr -> GLsizeiptr -> IO ()
- glBindBufferBase :: GLenum -> GLuint -> GLuint -> IO ()
- glGetIntegeri_v :: GLenum -> GLuint -> Ptr GLint -> IO ()
- glUniformBlockBinding :: GLuint -> GLuint -> GLuint -> IO ()
- gl_UNIFORM_BUFFER :: GLenum
- gl_UNIFORM_BUFFER_BINDING :: GLenum
- gl_UNIFORM_BUFFER_START :: GLenum
- gl_UNIFORM_BUFFER_SIZE :: GLenum
- gl_MAX_VERTEX_UNIFORM_BLOCKS :: GLenum
- gl_MAX_GEOMETRY_UNIFORM_BLOCKS :: GLenum
- gl_MAX_FRAGMENT_UNIFORM_BLOCKS :: GLenum
- gl_MAX_COMBINED_UNIFORM_BLOCKS :: GLenum
- gl_MAX_UNIFORM_BUFFER_BINDINGS :: GLenum
- gl_MAX_UNIFORM_BLOCK_SIZE :: GLenum
- gl_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: GLenum
- gl_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: GLenum
- gl_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: GLenum
- gl_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: GLenum
- gl_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: GLenum
- gl_ACTIVE_UNIFORM_BLOCKS :: GLenum
- gl_UNIFORM_TYPE :: GLenum
- gl_UNIFORM_SIZE :: GLenum
- gl_UNIFORM_NAME_LENGTH :: GLenum
- gl_UNIFORM_BLOCK_INDEX :: GLenum
- gl_UNIFORM_OFFSET :: GLenum
- gl_UNIFORM_ARRAY_STRIDE :: GLenum
- gl_UNIFORM_MATRIX_STRIDE :: GLenum
- gl_UNIFORM_IS_ROW_MAJOR :: GLenum
- gl_UNIFORM_BLOCK_BINDING :: GLenum
- gl_UNIFORM_BLOCK_DATA_SIZE :: GLenum
- gl_UNIFORM_BLOCK_NAME_LENGTH :: GLenum
- gl_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: GLenum
- gl_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: GLenum
- gl_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: GLenum
- gl_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: GLenum
- gl_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: GLenum
- gl_INVALID_INDEX :: GLenum

# Functions

glGetUniformIndices :: GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLuint -> IO ()

glGetActiveUniformsiv :: GLuint -> GLsizei -> Ptr GLuint -> GLenum -> Ptr GLint -> IO ()

glGetActiveUniformName :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()

glGetUniformBlockIndex :: GLuint -> Ptr GLchar -> IO GLuint

glGetActiveUniformBlockiv :: GLuint -> GLuint -> GLenum -> Ptr GLint -> IO ()

glGetActiveUniformBlockName :: GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()

glBindBufferRange :: GLenum -> GLuint -> GLuint -> GLintptr -> GLsizeiptr -> IO ()

glBindBufferBase :: GLenum -> GLuint -> GLuint -> IO ()

glGetIntegeri_v :: GLenum -> GLuint -> Ptr GLint -> IO ()

glUniformBlockBinding :: GLuint -> GLuint -> GLuint -> IO ()

# Tokens

gl_UNIFORM_BUFFER :: GLenum

gl_UNIFORM_BUFFER_BINDING :: GLenum

gl_UNIFORM_BUFFER_START :: GLenum

gl_UNIFORM_BUFFER_SIZE :: GLenum

gl_MAX_VERTEX_UNIFORM_BLOCKS :: GLenum

gl_MAX_GEOMETRY_UNIFORM_BLOCKS :: GLenum

gl_MAX_FRAGMENT_UNIFORM_BLOCKS :: GLenum

gl_MAX_COMBINED_UNIFORM_BLOCKS :: GLenum

gl_MAX_UNIFORM_BUFFER_BINDINGS :: GLenum

gl_MAX_UNIFORM_BLOCK_SIZE :: GLenum

gl_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: GLenum

gl_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: GLenum

gl_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: GLenum

gl_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: GLenum

gl_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: GLenum

gl_ACTIVE_UNIFORM_BLOCKS :: GLenum

gl_UNIFORM_TYPE :: GLenum

gl_UNIFORM_SIZE :: GLenum

gl_UNIFORM_NAME_LENGTH :: GLenum

gl_UNIFORM_BLOCK_INDEX :: GLenum

gl_UNIFORM_OFFSET :: GLenum

gl_UNIFORM_ARRAY_STRIDE :: GLenum

gl_UNIFORM_MATRIX_STRIDE :: GLenum

gl_UNIFORM_IS_ROW_MAJOR :: GLenum

gl_UNIFORM_BLOCK_BINDING :: GLenum

gl_UNIFORM_BLOCK_DATA_SIZE :: GLenum

gl_UNIFORM_BLOCK_NAME_LENGTH :: GLenum

gl_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: GLenum

gl_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: GLenum

gl_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: GLenum

gl_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: GLenum

gl_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: GLenum

gl_INVALID_INDEX :: GLenum