| Copyright | (c) Sven Panne 2015 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.Rendering.OpenGL.Raw.ARB.MapBufferRange
Contents
Description
- glGetARBMapBufferRange :: MonadIO m => m Bool
- gl_ARB_map_buffer_range :: Bool
- gl_MAP_FLUSH_EXPLICIT_BIT :: GLbitfield
- gl_MAP_INVALIDATE_BUFFER_BIT :: GLbitfield
- gl_MAP_INVALIDATE_RANGE_BIT :: GLbitfield
- gl_MAP_READ_BIT :: GLbitfield
- gl_MAP_UNSYNCHRONIZED_BIT :: GLbitfield
- gl_MAP_WRITE_BIT :: GLbitfield
- glFlushMappedBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> m ()
- glMapBufferRange :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> GLbitfield -> m (Ptr a)
Extension Support
glGetARBMapBufferRange :: MonadIO m => m Bool
Is the ARB_map_buffer_range extension supported?
gl_ARB_map_buffer_range :: Bool
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
Arguments
| :: MonadIO m | |
| => GLenum |
|
| -> GLintptr |
|
| -> GLsizeiptr |
|
| -> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
Arguments
| :: MonadIO m | |
| => GLenum |
|
| -> GLintptr |
|
| -> GLsizeiptr |
|
| -> GLbitfield |
|
| -> m (Ptr a) |
Manual pages for OpenGL 3.x or OpenGL 4.x.