Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBVertexBufferObject :: MonadIO m => m Bool
- gl_ARB_vertex_buffer_object :: Bool
- pattern GL_ARRAY_BUFFER_ARB :: GLenum
- pattern GL_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_BUFFER_ACCESS_ARB :: GLenum
- pattern GL_BUFFER_MAPPED_ARB :: GLenum
- pattern GL_BUFFER_MAP_POINTER_ARB :: GLenum
- pattern GL_BUFFER_SIZE_ARB :: GLenum
- pattern GL_BUFFER_USAGE_ARB :: GLenum
- pattern GL_COLOR_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_DYNAMIC_COPY_ARB :: GLenum
- pattern GL_DYNAMIC_DRAW_ARB :: GLenum
- pattern GL_DYNAMIC_READ_ARB :: GLenum
- pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_ELEMENT_ARRAY_BUFFER_ARB :: GLenum
- pattern GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_INDEX_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_NORMAL_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_READ_ONLY_ARB :: GLenum
- pattern GL_READ_WRITE_ARB :: GLenum
- pattern GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_STATIC_COPY_ARB :: GLenum
- pattern GL_STATIC_DRAW_ARB :: GLenum
- pattern GL_STATIC_READ_ARB :: GLenum
- pattern GL_STREAM_COPY_ARB :: GLenum
- pattern GL_STREAM_DRAW_ARB :: GLenum
- pattern GL_STREAM_READ_ARB :: GLenum
- pattern GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_VERTEX_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB :: GLenum
- pattern GL_WRITE_ONLY_ARB :: GLenum
- glBindBufferARB :: MonadIO m => GLenum -> GLuint -> m ()
- glBufferDataARB :: MonadIO m => GLenum -> GLsizeiptrARB -> Ptr a -> GLenum -> m ()
- glBufferSubDataARB :: MonadIO m => GLenum -> GLintptrARB -> GLsizeiptrARB -> Ptr a -> m ()
- glDeleteBuffersARB :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenBuffersARB :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGetBufferParameterivARB :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glGetBufferPointervARB :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr a) -> m ()
- glGetBufferSubDataARB :: MonadIO m => GLenum -> GLintptrARB -> GLsizeiptrARB -> Ptr a -> m ()
- glIsBufferARB :: MonadIO m => GLuint -> m GLboolean
- glMapBufferARB :: MonadIO m => GLenum -> GLenum -> m (Ptr a)
- glUnmapBufferARB :: MonadIO m => GLenum -> m GLboolean
Extension Support
glGetARBVertexBufferObject :: MonadIO m => m Bool Source
Is the ARB_vertex_buffer_object extension supported?
gl_ARB_vertex_buffer_object :: Bool Source
Is the ARB_vertex_buffer_object extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBVertexBufferObject
in those cases instead.
Enums
pattern GL_ARRAY_BUFFER_ARB :: GLenum Source
pattern GL_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_BUFFER_ACCESS_ARB :: GLenum Source
pattern GL_BUFFER_MAPPED_ARB :: GLenum Source
pattern GL_BUFFER_MAP_POINTER_ARB :: GLenum Source
pattern GL_BUFFER_SIZE_ARB :: GLenum Source
pattern GL_BUFFER_USAGE_ARB :: GLenum Source
pattern GL_COLOR_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_DYNAMIC_COPY_ARB :: GLenum Source
pattern GL_DYNAMIC_DRAW_ARB :: GLenum Source
pattern GL_DYNAMIC_READ_ARB :: GLenum Source
pattern GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_ELEMENT_ARRAY_BUFFER_ARB :: GLenum Source
pattern GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_INDEX_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_NORMAL_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_READ_ONLY_ARB :: GLenum Source
pattern GL_READ_WRITE_ARB :: GLenum Source
pattern GL_STATIC_COPY_ARB :: GLenum Source
pattern GL_STATIC_DRAW_ARB :: GLenum Source
pattern GL_STATIC_READ_ARB :: GLenum Source
pattern GL_STREAM_COPY_ARB :: GLenum Source
pattern GL_STREAM_DRAW_ARB :: GLenum Source
pattern GL_STREAM_READ_ARB :: GLenum Source
pattern GL_VERTEX_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB :: GLenum Source
pattern GL_WRITE_ONLY_ARB :: GLenum Source
Functions
This command is an alias for glBindBuffer
.
:: MonadIO m | |
=> GLenum |
|
-> GLsizeiptrARB |
|
-> Ptr a |
|
-> GLenum |
|
-> m () |
This command is an alias for glBufferData
.
:: MonadIO m | |
=> GLenum |
|
-> GLintptrARB |
|
-> GLsizeiptrARB |
|
-> Ptr a |
|
-> m () |
This command is an alias for glBufferSubData
.
This command is an alias for glDeleteBuffers
.
This command is an alias for glGenBuffers
.
glGetBufferParameterivARB Source
:: MonadIO m | |
=> GLenum |
|
-> GLenum |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glGetBufferParameteriv
.
:: MonadIO m | |
=> GLenum |
|
-> GLenum |
|
-> Ptr (Ptr a) |
|
-> m () |
This command is an alias for glGetBufferPointerv
.
:: MonadIO m | |
=> GLenum |
|
-> GLintptrARB |
|
-> GLsizeiptrARB |
|
-> Ptr a |
|
-> m () |
This command is an alias for glGetBufferSubData
.
This command is an alias for glIsBuffer
.
:: MonadIO m | |
=> GLenum |
|
-> GLenum |
|
-> m (Ptr a) |
This command is an alias for glMapBuffer
.
This command is an alias for glUnmapBuffer
.