Graphics.Rendering.OpenGL.Raw.ARB.VertexBufferObject

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

Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Safe Haskell | None

Graphics.Rendering.OpenGL.Raw.ARB.VertexBufferObject

Contents

- Functions
- Tokens

Description

All raw functions and tokens from the ARB_vertex_buffer_object extension, see http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt.

Synopsis

- 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 ()

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 ()

# Tokens

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