Is the ARB_map_buffer_range extension supported?
ModuleOpenGLRaw-3.3.4.1Haskell2010
Graphics.GL.ARB.MapBufferRange
Contents
Synopsis
- value glGetARBMapBufferRange
- value gl_ARB_map_buffer_range
- pattern GL_MAP_FLUSH_EXPLICIT_BIT
- pattern GL_MAP_INVALIDATE_BUFFER_BIT
- pattern GL_MAP_INVALIDATE_RANGE_BIT
- pattern GL_MAP_READ_BIT
- pattern GL_MAP_UNSYNCHRONIZED_BIT
- pattern GL_MAP_WRITE_BIT
- value glFlushMappedBufferRange
- value glMapBufferRange
- PackageOpenGLRaw-3.3.4.1
- Exports10
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceExtensionPredicates.hs
Extension Support
Is the ARB_map_buffer_range extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBMapBufferRange in those cases instead.
Enums
Functions
value
glFlushMappedBufferRange :: MonadIO m=> GLenumtargetof type BufferTargetARB.-> GLintptroffsetof typeBufferOffset.-> GLsizeiptrlengthof typeBufferSize.-> m ()
Manual pages for OpenGL 3.x or OpenGL 4.x.
value
glMapBufferRange :: MonadIO m=> GLenumtargetof type BufferTargetARB.-> GLintptroffsetof typeBufferOffset.-> GLsizeiptrlengthof typeBufferSize.-> GLbitfieldaccessof type MapBufferAccessMask.-> m (Ptr a)
Manual pages for OpenGL 3.x or OpenGL 4.x.