gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.BufferStorage

Contents

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 :: forall a. (Num a, Eq a) => a Source #

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

pattern GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

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