Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Graphics.GL.Standard30
- glCopyBufferSubData :: MonadIO m => GLenum -> GLenum -> GLintptr -> GLintptr -> GLsizeiptr -> m ()
- glDrawArraysInstanced :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m ()
- glDrawElementsInstanced :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> 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 ()
- glGetUniformBlockIndex :: MonadIO m => GLuint -> Ptr GLchar -> m GLuint
- glGetUniformIndices :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLuint -> m ()
- glPrimitiveRestartIndex :: MonadIO m => GLuint -> m ()
- glTexBuffer :: MonadIO m => GLenum -> GLenum -> GLuint -> m ()
- glUniformBlockBinding :: MonadIO m => GLuint -> GLuint -> GLuint -> m ()
- pattern GL_ACTIVE_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a
- pattern GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_BLEND_COLOR :: forall a. (Num a, Eq a) => a
- pattern GL_COPY_READ_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_COPY_WRITE_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_INT_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a
- pattern GL_INT_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_INVALID_INDEX :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_COMBINED_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_FRAGMENT_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_GEOMETRY_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_RECTANGLE_TEXTURE_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_TEXTURE_BUFFER_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_UNIFORM_BLOCK_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_UNIFORM_BUFFER_BINDINGS :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_VERTEX_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a
- pattern GL_PRIMITIVE_RESTART :: forall a. (Num a, Eq a) => a
- pattern GL_PRIMITIVE_RESTART_INDEX :: forall a. (Num a, Eq a) => a
- pattern GL_PROXY_TEXTURE_RECTANGLE :: forall a. (Num a, Eq a) => a
- pattern GL_R16_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_R8_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RG16_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RG8_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RGB16_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RGB8_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RGBA16_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_RGBA8_SNORM :: forall a. (Num a, Eq a) => a
- pattern GL_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a
- pattern GL_SAMPLER_2D_RECT_SHADOW :: forall a. (Num a, Eq a) => a
- pattern GL_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_SIGNED_NORMALIZED :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_BINDING_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_BINDING_RECTANGLE :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_BUFFER_DATA_STORE_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_RECTANGLE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_DATA_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_INDEX :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_NAME_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BUFFER_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_BUFFER_START :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_IS_ROW_MAJOR :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_MATRIX_STRIDE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_NAME_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_OFFSET :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_TYPE :: forall a. (Num a, Eq a) => a
- pattern GL_UNSIGNED_INT_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a
- pattern GL_UNSIGNED_INT_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a
Graphics.GL.Standard31
module Graphics.GL.Standard30
glCopyBufferSubData :: MonadIO m => GLenum -> GLenum -> GLintptr -> GLintptr -> GLsizeiptr -> m () Source #
Usage: glCopyBufferSubData
readTarget writeTarget readOffset writeOffset size
The parameter readOffset
is a BufferOffset
.
The parameter writeOffset
is a BufferOffset
.
The parameter size
is a BufferSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCopyBufferSubData.xhtml
glDrawArraysInstanced :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m () Source #
Usage: glDrawArraysInstanced
mode first count instancecount
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawArraysInstanced.xhtml
glDrawElementsInstanced :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m () Source #
Usage: glDrawElementsInstanced
mode count type indices instancecount
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
The parameter type
is a DrawElementsType
.
The length of indices
should be COMPSIZE(count,type)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawElementsInstanced.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
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
glPrimitiveRestartIndex :: MonadIO m => GLuint -> m () Source #
Usage: glPrimitiveRestartIndex
index
Manual page: https://www.opengl.org/sdk/docs/man/html/glPrimitiveRestartIndex.xhtml
glTexBuffer :: MonadIO m => GLenum -> GLenum -> GLuint -> m () Source #
Usage: glTexBuffer
target internalformat buffer
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glTexBuffer.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 :: forall a. (Num a, Eq a) => a Source #
pattern GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_BLEND_COLOR :: forall a. (Num a, Eq a) => a Source #
pattern GL_COPY_READ_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_COPY_WRITE_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_INT_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a Source #
pattern GL_INT_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_INVALID_INDEX :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_COMBINED_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_FRAGMENT_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_GEOMETRY_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_RECTANGLE_TEXTURE_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_TEXTURE_BUFFER_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_UNIFORM_BLOCK_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_UNIFORM_BUFFER_BINDINGS :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_VERTEX_UNIFORM_BLOCKS :: forall a. (Num a, Eq a) => a Source #
pattern GL_PRIMITIVE_RESTART :: forall a. (Num a, Eq a) => a Source #
pattern GL_PRIMITIVE_RESTART_INDEX :: forall a. (Num a, Eq a) => a Source #
pattern GL_PROXY_TEXTURE_RECTANGLE :: forall a. (Num a, Eq a) => a Source #
pattern GL_R16_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_R8_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RG16_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RG8_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RGB16_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RGB8_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RGBA16_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_RGBA8_SNORM :: forall a. (Num a, Eq a) => a Source #
pattern GL_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a Source #
pattern GL_SAMPLER_2D_RECT_SHADOW :: forall a. (Num a, Eq a) => a Source #
pattern GL_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_SIGNED_NORMALIZED :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_BINDING_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_BINDING_RECTANGLE :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_BUFFER_DATA_STORE_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_RECTANGLE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_DATA_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_INDEX :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_NAME_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BUFFER_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_BUFFER_START :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_IS_ROW_MAJOR :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_MATRIX_STRIDE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_NAME_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_OFFSET :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_TYPE :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNSIGNED_INT_SAMPLER_2D_RECT :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNSIGNED_INT_SAMPLER_BUFFER :: forall a. (Num a, Eq a) => a Source #