OpenGLRaw-3.2.5.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.MapBufferRange

Contents

Description

 

Synopsis

Extension Support

glGetARBMapBufferRange :: MonadIO m => m Bool Source #

Is the ARB_map_buffer_range extension supported?

gl_ARB_map_buffer_range :: Bool Source #

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

glFlushMappedBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glMapBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

length of type BufferSize.

-> GLbitfield

access of type BufferAccessMask.

-> m (Ptr a) 

Manual pages for OpenGL 3.x or OpenGL 4.x.