Copyright | (c) Sven Panne 2013 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
All raw functions and tokens from the ARB_vertex_buffer_object extension, see http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt.
- glBindBuffer :: GLenum -> GLuint -> IO ()
- glDeleteBuffers :: GLsizei -> Ptr GLuint -> IO ()
- glGenBuffers :: GLsizei -> Ptr GLuint -> IO ()
- glIsBuffer :: GLuint -> IO GLboolean
- glBufferData :: GLenum -> GLsizeiptr -> Ptr a -> GLenum -> IO ()
- glBufferSubData :: GLenum -> GLintptr -> GLsizeiptr -> Ptr a -> IO ()
- glGetBufferSubData :: GLenum -> GLintptr -> GLsizeiptr -> Ptr a -> IO ()
- glMapBuffer :: GLenum -> GLenum -> IO (Ptr a)
- glUnmapBuffer :: GLenum -> IO GLboolean
- glGetBufferParameteriv :: GLenum -> GLenum -> Ptr GLint -> IO ()
- glGetBufferPointerv :: GLenum -> GLenum -> Ptr (Ptr a) -> IO ()
- gl_ARRAY_BUFFER :: GLenum
- gl_ELEMENT_ARRAY_BUFFER :: GLenum
- gl_ARRAY_BUFFER_BINDING :: GLenum
- gl_ELEMENT_ARRAY_BUFFER_BINDING :: GLenum
- gl_VERTEX_ARRAY_BUFFER_BINDING :: GLenum
- gl_NORMAL_ARRAY_BUFFER_BINDING :: GLenum
- gl_COLOR_ARRAY_BUFFER_BINDING :: GLenum
- gl_INDEX_ARRAY_BUFFER_BINDING :: GLenum
- gl_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: GLenum
- gl_EDGE_FLAG_ARRAY_BUFFER_BINDING :: GLenum
- gl_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: GLenum
- gl_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: GLenum
- gl_WEIGHT_ARRAY_BUFFER_BINDING :: GLenum
- gl_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: GLenum
- gl_STREAM_DRAW :: GLenum
- gl_STREAM_READ :: GLenum
- gl_STREAM_COPY :: GLenum
- gl_STATIC_DRAW :: GLenum
- gl_STATIC_READ :: GLenum
- gl_STATIC_COPY :: GLenum
- gl_DYNAMIC_DRAW :: GLenum
- gl_DYNAMIC_READ :: GLenum
- gl_DYNAMIC_COPY :: GLenum
- gl_READ_ONLY :: GLenum
- gl_WRITE_ONLY :: GLenum
- gl_READ_WRITE :: GLenum
- gl_BUFFER_SIZE :: GLenum
- gl_BUFFER_USAGE :: GLenum
- gl_BUFFER_ACCESS :: GLenum
- gl_BUFFER_MAPPED :: GLenum
- gl_BUFFER_MAP_POINTER :: GLenum
Functions
glBindBuffer :: GLenum -> GLuint -> IO () Source
glIsBuffer :: GLuint -> IO GLboolean Source
glBufferData :: GLenum -> GLsizeiptr -> Ptr a -> GLenum -> IO () Source
glBufferSubData :: GLenum -> GLintptr -> GLsizeiptr -> Ptr a -> IO () Source
glGetBufferSubData :: GLenum -> GLintptr -> GLsizeiptr -> Ptr a -> IO () Source
glUnmapBuffer :: GLenum -> IO GLboolean Source