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

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

Graphics.GL.ARB.BufferStorage

Contents

Description

 

Synopsis

Extension Support

glGetARBBufferStorage :: MonadIO m => m Bool Source #

Is the ARB_buffer_storage extension supported?

gl_ARB_buffer_storage :: Bool Source #

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

Enums

Functions

glBufferStorage Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferStorageTarget.

-> GLsizeiptr

size.

-> Ptr a

data pointing to size elements of type a.

-> GLbitfield

flags of type MapBufferUsageMask.

-> m () 

Manual page for OpenGL 4.x.