gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.MapBufferRange

Synopsis

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 #