gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.MapBufferRange

Contents

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 :: 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 #