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

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.ATI.MapObjectBuffer

Contents

- Extension Support
- Functions

Description

Synopsis

- glGetATIMapObjectBuffer :: MonadIO m => m Bool
- gl_ATI_map_object_buffer :: Bool
- glMapObjectBufferATI :: MonadIO m => GLuint -> m (Ptr a)
- glUnmapObjectBufferATI :: MonadIO m => GLuint -> m ()

# Extension Support

glGetATIMapObjectBuffer :: MonadIO m => m Bool

Is the ATI_map_object_buffer extension supported?

gl_ATI_map_object_buffer :: Bool

Is the ATI_map_object_buffer extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use `glGetATIMapObjectBuffer` in those cases instead.

# Functions

glMapObjectBufferATI

Arguments

:: MonadIO m |
=> GLuint | `buffer`.
-> m (Ptr a) |

glUnmapObjectBufferATI

Arguments

:: MonadIO m |
=> GLuint | `buffer`.
-> m () |