Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Graphics.GL.Standard14
- glBeginQuery :: MonadIO m => GLenum -> GLuint -> m ()
- glBindBuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBufferData :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLenum -> m ()
- glBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m ()
- glDeleteBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDeleteQueries :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glEndQuery :: MonadIO m => GLenum -> m ()
- glGenBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenQueries :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGetBufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glGetBufferPointerv :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr ()) -> m ()
- glGetBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m ()
- glGetQueryObjectiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glGetQueryObjectuiv :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m ()
- glGetQueryiv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glIsBuffer :: MonadIO m => GLuint -> m GLboolean
- glIsQuery :: MonadIO m => GLuint -> m GLboolean
- glMapBuffer :: MonadIO m => GLenum -> GLenum -> m (Ptr ())
- glUnmapBuffer :: MonadIO m => GLenum -> m GLboolean
- pattern GL_ARRAY_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_BUFFER_ACCESS :: forall a. (Num a, Eq a) => a
- pattern GL_BUFFER_MAPPED :: forall a. (Num a, Eq a) => a
- pattern GL_BUFFER_MAP_POINTER :: forall a. (Num a, Eq a) => a
- pattern GL_BUFFER_SIZE :: forall a. (Num a, Eq a) => a
- pattern GL_BUFFER_USAGE :: forall a. (Num a, Eq a) => a
- pattern GL_COLOR_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_CURRENT_FOG_COORD :: forall a. (Num a, Eq a) => a
- pattern GL_CURRENT_QUERY :: forall a. (Num a, Eq a) => a
- pattern GL_DYNAMIC_COPY :: forall a. (Num a, Eq a) => a
- pattern GL_DYNAMIC_DRAW :: forall a. (Num a, Eq a) => a
- pattern GL_DYNAMIC_READ :: forall a. (Num a, Eq a) => a
- pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER :: forall a. (Num a, Eq a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_ARRAY :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_ARRAY_POINTER :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_ARRAY_TYPE :: forall a. (Num a, Eq a) => a
- pattern GL_FOG_COORD_SRC :: forall a. (Num a, Eq a) => a
- pattern GL_INDEX_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_NORMAL_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_QUERY_COUNTER_BITS :: forall a. (Num a, Eq a) => a
- pattern GL_QUERY_RESULT :: forall a. (Num a, Eq a) => a
- pattern GL_QUERY_RESULT_AVAILABLE :: forall a. (Num a, Eq a) => a
- pattern GL_READ_ONLY :: forall a. (Num a, Eq a) => a
- pattern GL_READ_WRITE :: forall a. (Num a, Eq a) => a
- pattern GL_SAMPLES_PASSED :: forall a. (Num a, Eq a) => a
- pattern GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_SRC0_ALPHA :: forall a. (Num a, Eq a) => a
- pattern GL_SRC0_RGB :: forall a. (Num a, Eq a) => a
- pattern GL_SRC1_ALPHA :: forall a. (Num a, Eq a) => a
- pattern GL_SRC1_RGB :: forall a. (Num a, Eq a) => a
- pattern GL_SRC2_ALPHA :: forall a. (Num a, Eq a) => a
- pattern GL_SRC2_RGB :: forall a. (Num a, Eq a) => a
- pattern GL_STATIC_COPY :: forall a. (Num a, Eq a) => a
- pattern GL_STATIC_DRAW :: forall a. (Num a, Eq a) => a
- pattern GL_STATIC_READ :: forall a. (Num a, Eq a) => a
- pattern GL_STREAM_COPY :: forall a. (Num a, Eq a) => a
- pattern GL_STREAM_DRAW :: forall a. (Num a, Eq a) => a
- pattern GL_STREAM_READ :: forall a. (Num a, Eq a) => a
- pattern GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_VERTEX_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_WEIGHT_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a
- pattern GL_WRITE_ONLY :: forall a. (Num a, Eq a) => a
Graphics.GL.Standard15
module Graphics.GL.Standard14
glBeginQuery :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBeginQuery
target id
Manual page: https://www.opengl.org/sdk/docs/man/html/glBeginQuery.xhtml
glBindBuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindBuffer
target buffer
The parameter target
is a BufferTargetARB
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBuffer.xhtml
glBufferData :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLenum -> m () Source #
Usage: glBufferData
target size data usage
The parameter target
is a BufferTargetARB
.
The parameter size
is a BufferSize
.
The parameter usage
is a BufferUsageARB
.
The length of data
should be size
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferData.xhtml
glBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #
Usage: glBufferSubData
target offset size data
The parameter target
is a BufferTargetARB
.
The parameter offset
is a BufferOffset
.
The parameter size
is a BufferSize
.
The length of data
should be size
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferSubData.xhtml
glDeleteBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteBuffers
n buffers
The length of buffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteBuffers.xhtml
glDeleteQueries :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteQueries
n ids
The length of ids
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteQueries.xhtml
glEndQuery :: MonadIO m => GLenum -> m () Source #
Usage: glEndQuery
target
glGenBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenBuffers
n buffers
The length of buffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenBuffers.xhtml
glGenQueries :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenQueries
n ids
The length of ids
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenQueries.xhtml
glGetBufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetBufferParameteriv
target pname params
The parameter target
is a BufferTargetARB
.
The parameter pname
is a BufferPNameARB
.
The length of params
should be COMPSIZE(pname)
.
glGetBufferPointerv :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr ()) -> m () Source #
Usage: glGetBufferPointerv
target pname params
The parameter target
is a BufferTargetARB
.
The parameter pname
is a BufferPointerNameARB
.
The length of params
should be 1
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetBufferPointerv.xhtml
glGetBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #
Usage: glGetBufferSubData
target offset size data
The parameter target
is a BufferTargetARB
.
The parameter offset
is a BufferOffset
.
The parameter size
is a BufferSize
.
The length of data
should be size
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetBufferSubData.xhtml
glGetQueryObjectiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetQueryObjectiv
id pname params
The length of params
should be COMPSIZE(pname)
.
glGetQueryObjectuiv :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m () Source #
Usage: glGetQueryObjectuiv
id pname params
The length of params
should be COMPSIZE(pname)
.
glGetQueryiv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetQueryiv
target pname params
The length of params
should be COMPSIZE(pname)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetQueryiv.xhtml
glIsBuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsBuffer
buffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsBuffer.xhtml
glIsQuery :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsQuery
id
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsQuery.xhtml
glMapBuffer :: MonadIO m => GLenum -> GLenum -> m (Ptr ()) Source #
Usage: glMapBuffer
target access
The parameter target
is a BufferTargetARB
.
The parameter access
is a BufferAccessARB
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glMapBuffer.xhtml
glUnmapBuffer :: MonadIO m => GLenum -> m GLboolean Source #
Usage: glUnmapBuffer
target
The parameter target
is a BufferTargetARB
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glUnmapBuffer.xhtml
pattern GL_ARRAY_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_BUFFER_ACCESS :: forall a. (Num a, Eq a) => a Source #
pattern GL_BUFFER_MAPPED :: forall a. (Num a, Eq a) => a Source #
pattern GL_BUFFER_MAP_POINTER :: forall a. (Num a, Eq a) => a Source #
pattern GL_BUFFER_SIZE :: forall a. (Num a, Eq a) => a Source #
pattern GL_BUFFER_USAGE :: forall a. (Num a, Eq a) => a Source #
pattern GL_COLOR_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_CURRENT_FOG_COORD :: forall a. (Num a, Eq a) => a Source #
pattern GL_CURRENT_QUERY :: forall a. (Num a, Eq a) => a Source #
pattern GL_DYNAMIC_COPY :: forall a. (Num a, Eq a) => a Source #
pattern GL_DYNAMIC_DRAW :: forall a. (Num a, Eq a) => a Source #
pattern GL_DYNAMIC_READ :: forall a. (Num a, Eq a) => a Source #
pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER :: forall a. (Num a, Eq a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_ARRAY :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_ARRAY_POINTER :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_ARRAY_TYPE :: forall a. (Num a, Eq a) => a Source #
pattern GL_FOG_COORD_SRC :: forall a. (Num a, Eq a) => a Source #
pattern GL_INDEX_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_NORMAL_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_QUERY_COUNTER_BITS :: forall a. (Num a, Eq a) => a Source #
pattern GL_QUERY_RESULT :: forall a. (Num a, Eq a) => a Source #
pattern GL_QUERY_RESULT_AVAILABLE :: forall a. (Num a, Eq a) => a Source #
pattern GL_READ_ONLY :: forall a. (Num a, Eq a) => a Source #
pattern GL_READ_WRITE :: forall a. (Num a, Eq a) => a Source #
pattern GL_SAMPLES_PASSED :: forall a. (Num a, Eq a) => a Source #
pattern GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC0_ALPHA :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC0_RGB :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC1_ALPHA :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC1_RGB :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC2_ALPHA :: forall a. (Num a, Eq a) => a Source #
pattern GL_SRC2_RGB :: forall a. (Num a, Eq a) => a Source #
pattern GL_STATIC_COPY :: forall a. (Num a, Eq a) => a Source #
pattern GL_STATIC_DRAW :: forall a. (Num a, Eq a) => a Source #
pattern GL_STATIC_READ :: forall a. (Num a, Eq a) => a Source #
pattern GL_STREAM_COPY :: forall a. (Num a, Eq a) => a Source #
pattern GL_STREAM_DRAW :: forall a. (Num a, Eq a) => a Source #
pattern GL_STREAM_READ :: forall a. (Num a, Eq a) => a Source #
pattern GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_VERTEX_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_WEIGHT_ARRAY_BUFFER_BINDING :: forall a. (Num a, Eq a) => a Source #
pattern GL_WRITE_ONLY :: forall a. (Num a, Eq a) => a Source #