gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.BufferStorage

Synopsis

Extension Support

gl_ARB_buffer_storage :: Bool Source #

Checks that the GL_ARB_buffer_storage extension is available.

GL_ARB_buffer_storage

glBufferStorage :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLbitfield -> m () Source #

Usage: glBufferStorage target size data flags

The length of data should be size.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferStorage.xhtml

pattern GL_BUFFER_IMMUTABLE_STORAGE :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_STORAGE_FLAGS :: (Eq a, Num a) => a Source #

pattern GL_CLIENT_STORAGE_BIT :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_STORAGE_BIT :: (Eq a, Num a) => a Source #

pattern GL_MAP_COHERENT_BIT :: (Eq a, Num a) => a Source #

pattern GL_MAP_PERSISTENT_BIT :: (Eq a, Num a) => a Source #

pattern GL_MAP_READ_BIT :: (Eq a, Num a) => a Source #

pattern GL_MAP_WRITE_BIT :: (Eq a, Num a) => a Source #