Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_uniform_buffer_object :: Bool
- glBindBufferBase :: MonadIO m => GLenum -> GLuint -> GLuint -> m ()
- glBindBufferRange :: MonadIO m => GLenum -> GLuint -> GLuint -> GLintptr -> GLsizeiptr -> m ()
- glGetActiveUniformBlockName :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetActiveUniformBlockiv :: MonadIO m => GLuint -> GLuint -> GLenum -> Ptr GLint -> m ()
- glGetActiveUniformName :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetActiveUniformsiv :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> GLenum -> Ptr GLint -> m ()
- glGetIntegeri_v :: MonadIO m => GLenum -> GLuint -> Ptr GLint -> m ()
- glGetUniformBlockIndex :: MonadIO m => GLuint -> Ptr GLchar -> m GLuint
- glGetUniformIndices :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLuint -> m ()
- glUniformBlockBinding :: MonadIO m => GLuint -> GLuint -> GLuint -> m ()
- pattern GL_ACTIVE_UNIFORM_BLOCKS :: (Eq a, Num a) => a
- pattern GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: (Eq a, Num a) => a
- pattern GL_INVALID_INDEX :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_UNIFORM_BLOCKS :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: (Eq a, Num a) => a
- pattern GL_MAX_FRAGMENT_UNIFORM_BLOCKS :: (Eq a, Num a) => a
- pattern GL_MAX_GEOMETRY_UNIFORM_BLOCKS :: (Eq a, Num a) => a
- pattern GL_MAX_UNIFORM_BLOCK_SIZE :: (Eq a, Num a) => a
- pattern GL_MAX_UNIFORM_BUFFER_BINDINGS :: (Eq a, Num a) => a
- pattern GL_MAX_VERTEX_UNIFORM_BLOCKS :: (Eq a, Num a) => a
- pattern GL_UNIFORM_ARRAY_STRIDE :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_BINDING :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_DATA_SIZE :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_INDEX :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_NAME_LENGTH :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BUFFER :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BUFFER_SIZE :: (Eq a, Num a) => a
- pattern GL_UNIFORM_BUFFER_START :: (Eq a, Num a) => a
- pattern GL_UNIFORM_IS_ROW_MAJOR :: (Eq a, Num a) => a
- pattern GL_UNIFORM_MATRIX_STRIDE :: (Eq a, Num a) => a
- pattern GL_UNIFORM_NAME_LENGTH :: (Eq a, Num a) => a
- pattern GL_UNIFORM_OFFSET :: (Eq a, Num a) => a
- pattern GL_UNIFORM_SIZE :: (Eq a, Num a) => a
- pattern GL_UNIFORM_TYPE :: (Eq a, Num a) => a
Extension Support
gl_ARB_uniform_buffer_object :: Bool Source #
Checks that the GL_ARB_uniform_buffer_object extension is available.
GL_ARB_uniform_buffer_object
glBindBufferBase :: MonadIO m => GLenum -> GLuint -> GLuint -> m () Source #
Usage: glBindBufferBase
target index buffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBufferBase.xhtml
glBindBufferRange :: MonadIO m => GLenum -> GLuint -> GLuint -> GLintptr -> GLsizeiptr -> m () Source #
Usage: glBindBufferRange
target index buffer offset size
The parameter offset
is a BufferOffset
.
The parameter size
is a BufferSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBufferRange.xhtml
glGetActiveUniformBlockName :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetActiveUniformBlockName
program uniformBlockIndex bufSize length uniformBlockName
The length of length
should be 1
.
The length of uniformBlockName
should be bufSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveUniformBlockName.xhtml
glGetActiveUniformBlockiv :: MonadIO m => GLuint -> GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetActiveUniformBlockiv
program uniformBlockIndex pname params
The length of params
should be COMPSIZE(program,uniformBlockIndex,pname)
.
glGetActiveUniformName :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetActiveUniformName
program uniformIndex bufSize length uniformName
The length of length
should be 1
.
The length of uniformName
should be bufSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveUniformName.xhtml
glGetActiveUniformsiv :: MonadIO m => GLuint -> GLsizei -> Ptr GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetActiveUniformsiv
program uniformCount uniformIndices pname params
The length of uniformIndices
should be uniformCount
.
The length of params
should be COMPSIZE(uniformCount,pname)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveUniformsiv.xhtml
glGetIntegeri_v :: MonadIO m => GLenum -> GLuint -> Ptr GLint -> m () Source #
Usage: glGetIntegeri_v
target index data
The length of data
should be COMPSIZE(target)
.
glGetUniformBlockIndex :: MonadIO m => GLuint -> Ptr GLchar -> m GLuint Source #
Usage: glGetUniformBlockIndex
program uniformBlockName
The length of uniformBlockName
should be COMPSIZE()
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetUniformBlockIndex.xhtml
glGetUniformIndices :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLuint -> m () Source #
Usage: glGetUniformIndices
program uniformCount uniformNames uniformIndices
The length of uniformNames
should be COMPSIZE(uniformCount)
.
The length of uniformIndices
should be COMPSIZE(uniformCount)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetUniformIndices.xhtml
glUniformBlockBinding :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #
Usage: glUniformBlockBinding
program uniformBlockIndex uniformBlockBinding
Manual page: https://www.opengl.org/sdk/docs/man/html/glUniformBlockBinding.xhtml
pattern GL_ACTIVE_UNIFORM_BLOCKS :: (Eq a, Num a) => a Source #
pattern GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_INVALID_INDEX :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_UNIFORM_BLOCKS :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: (Eq a, Num a) => a Source #
pattern GL_MAX_FRAGMENT_UNIFORM_BLOCKS :: (Eq a, Num a) => a Source #
pattern GL_MAX_GEOMETRY_UNIFORM_BLOCKS :: (Eq a, Num a) => a Source #
pattern GL_MAX_UNIFORM_BLOCK_SIZE :: (Eq a, Num a) => a Source #
pattern GL_MAX_UNIFORM_BUFFER_BINDINGS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VERTEX_UNIFORM_BLOCKS :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_ARRAY_STRIDE :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_BINDING :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_DATA_SIZE :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_INDEX :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_NAME_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BUFFER_SIZE :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_BUFFER_START :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_IS_ROW_MAJOR :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_MATRIX_STRIDE :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_NAME_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_OFFSET :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_SIZE :: (Eq a, Num a) => a Source #
pattern GL_UNIFORM_TYPE :: (Eq a, Num a) => a Source #