Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_map_buffer_range :: Bool
- glFlushMappedBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> m ()
- glMapBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> GLbitfield -> m (Ptr ())
- pattern GL_MAP_FLUSH_EXPLICIT_BIT :: (Eq a, Num a) => a
- pattern GL_MAP_INVALIDATE_BUFFER_BIT :: (Eq a, Num a) => a
- pattern GL_MAP_INVALIDATE_RANGE_BIT :: (Eq a, Num a) => a
- pattern GL_MAP_READ_BIT :: (Eq a, Num a) => a
- pattern GL_MAP_UNSYNCHRONIZED_BIT :: (Eq a, Num a) => a
- pattern GL_MAP_WRITE_BIT :: (Eq a, Num a) => a
Extension Support
gl_ARB_map_buffer_range :: Bool Source #
Checks that the GL_ARB_map_buffer_range extension is available.
GL_ARB_map_buffer_range
glFlushMappedBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> m () Source #
Usage: glFlushMappedBufferRange
target offset length
The parameter target
is a BufferTargetARB
.
The parameter offset
is a BufferOffset
.
The parameter length
is a BufferSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glFlushMappedBufferRange.xhtml
glMapBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> GLbitfield -> m (Ptr ()) Source #
Usage: glMapBufferRange
target offset length access
The parameter target
is a BufferTargetARB
.
The parameter offset
is a BufferOffset
.
The parameter length
is a BufferSize
.
The parameter access
is a BufferAccessMask
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glMapBufferRange.xhtml
pattern GL_MAP_FLUSH_EXPLICIT_BIT :: (Eq a, Num a) => a Source #
pattern GL_MAP_INVALIDATE_BUFFER_BIT :: (Eq a, Num a) => a Source #
pattern GL_MAP_INVALIDATE_RANGE_BIT :: (Eq a, Num a) => a Source #
pattern GL_MAP_READ_BIT :: (Eq a, Num a) => a Source #
pattern GL_MAP_UNSYNCHRONIZED_BIT :: (Eq a, Num a) => a Source #
pattern GL_MAP_WRITE_BIT :: (Eq a, Num a) => a Source #