Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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 :: (Eq a, Num a) => a
- pattern GL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_BUFFER_ACCESS :: (Eq a, Num a) => a
- pattern GL_BUFFER_MAPPED :: (Eq a, Num a) => a
- pattern GL_BUFFER_MAP_POINTER :: (Eq a, Num a) => a
- pattern GL_BUFFER_SIZE :: (Eq a, Num a) => a
- pattern GL_BUFFER_USAGE :: (Eq a, Num a) => a
- pattern GL_COLOR_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_CURRENT_FOG_COORD :: (Eq a, Num a) => a
- pattern GL_CURRENT_QUERY :: (Eq a, Num a) => a
- pattern GL_DYNAMIC_COPY :: (Eq a, Num a) => a
- pattern GL_DYNAMIC_DRAW :: (Eq a, Num a) => a
- pattern GL_DYNAMIC_READ :: (Eq a, Num a) => a
- pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER :: (Eq a, Num a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FOG_COORD :: (Eq a, Num a) => a
- pattern GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_ARRAY :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_ARRAY_POINTER :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_ARRAY_STRIDE :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_ARRAY_TYPE :: (Eq a, Num a) => a
- pattern GL_FOG_COORD_SRC :: (Eq a, Num a) => a
- pattern GL_INDEX_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_NORMAL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_QUERY_COUNTER_BITS :: (Eq a, Num a) => a
- pattern GL_QUERY_RESULT :: (Eq a, Num a) => a
- pattern GL_QUERY_RESULT_AVAILABLE :: (Eq a, Num a) => a
- pattern GL_READ_ONLY :: (Eq a, Num a) => a
- pattern GL_READ_WRITE :: (Eq a, Num a) => a
- pattern GL_SAMPLES_PASSED :: (Eq a, Num a) => a
- pattern GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_SRC0_ALPHA :: (Eq a, Num a) => a
- pattern GL_SRC0_RGB :: (Eq a, Num a) => a
- pattern GL_SRC1_ALPHA :: (Eq a, Num a) => a
- pattern GL_SRC1_RGB :: (Eq a, Num a) => a
- pattern GL_SRC2_ALPHA :: (Eq a, Num a) => a
- pattern GL_SRC2_RGB :: (Eq a, Num a) => a
- pattern GL_STATIC_COPY :: (Eq a, Num a) => a
- pattern GL_STATIC_DRAW :: (Eq a, Num a) => a
- pattern GL_STATIC_READ :: (Eq a, Num a) => a
- pattern GL_STREAM_COPY :: (Eq a, Num a) => a
- pattern GL_STREAM_DRAW :: (Eq a, Num a) => a
- pattern GL_STREAM_READ :: (Eq a, Num a) => a
- pattern GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_VERTEX_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_WEIGHT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_WRITE_ONLY :: (Eq a, Num 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 :: (Eq a, Num a) => a Source #
pattern GL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_ACCESS :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_MAPPED :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_MAP_POINTER :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_SIZE :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_USAGE :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_CURRENT_FOG_COORD :: (Eq a, Num a) => a Source #
pattern GL_CURRENT_QUERY :: (Eq a, Num a) => a Source #
pattern GL_DYNAMIC_COPY :: (Eq a, Num a) => a Source #
pattern GL_DYNAMIC_DRAW :: (Eq a, Num a) => a Source #
pattern GL_DYNAMIC_READ :: (Eq a, Num a) => a Source #
pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_ARRAY :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_ARRAY_POINTER :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_ARRAY_STRIDE :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_ARRAY_TYPE :: (Eq a, Num a) => a Source #
pattern GL_FOG_COORD_SRC :: (Eq a, Num a) => a Source #
pattern GL_INDEX_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_NORMAL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_QUERY_COUNTER_BITS :: (Eq a, Num a) => a Source #
pattern GL_QUERY_RESULT :: (Eq a, Num a) => a Source #
pattern GL_QUERY_RESULT_AVAILABLE :: (Eq a, Num a) => a Source #
pattern GL_READ_ONLY :: (Eq a, Num a) => a Source #
pattern GL_READ_WRITE :: (Eq a, Num a) => a Source #
pattern GL_SAMPLES_PASSED :: (Eq a, Num a) => a Source #
pattern GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_SRC0_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_SRC0_RGB :: (Eq a, Num a) => a Source #
pattern GL_SRC1_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_SRC1_RGB :: (Eq a, Num a) => a Source #
pattern GL_SRC2_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_SRC2_RGB :: (Eq a, Num a) => a Source #
pattern GL_STATIC_COPY :: (Eq a, Num a) => a Source #
pattern GL_STATIC_DRAW :: (Eq a, Num a) => a Source #
pattern GL_STATIC_READ :: (Eq a, Num a) => a Source #
pattern GL_STREAM_COPY :: (Eq a, Num a) => a Source #
pattern GL_STREAM_DRAW :: (Eq a, Num a) => a Source #
pattern GL_STREAM_READ :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_WEIGHT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_WRITE_ONLY :: (Eq a, Num a) => a Source #