Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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 :: forall a. (Num a, Eq a) => a
- pattern GL_MAP_INVALIDATE_BUFFER_BIT :: forall a. (Num a, Eq a) => a
- pattern GL_MAP_INVALIDATE_RANGE_BIT :: forall a. (Num a, Eq a) => a
- pattern GL_MAP_READ_BIT :: forall a. (Num a, Eq a) => a
- pattern GL_MAP_UNSYNCHRONIZED_BIT :: forall a. (Num a, Eq a) => a
- pattern GL_MAP_WRITE_BIT :: forall a. (Num a, Eq 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 :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAP_INVALIDATE_BUFFER_BIT :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAP_INVALIDATE_RANGE_BIT :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAP_READ_BIT :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAP_UNSYNCHRONIZED_BIT :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAP_WRITE_BIT :: forall a. (Num a, Eq a) => a Source #