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

glDeleteBuffers :: GLsizei -> Ptr GLuint -> IO ()Source

glGenBuffers :: GLsizei -> Ptr 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

glMapBuffer :: GLenum -> GLenum -> IO (Ptr a)Source

glUnmapBuffer :: GLenum -> IO GLboolean Source

glGetBufferParameteriv :: GLenum -> GLenum -> Ptr GLint -> IO ()Source

glGetBufferPointerv :: GLenum -> GLenum -> Ptr (Ptr a) -> IO ()Source

# Tokens

gl_ARRAY_BUFFER :: GLenum Source

gl_ELEMENT_ARRAY_BUFFER :: GLenum Source

gl_ARRAY_BUFFER_BINDING :: GLenum Source

gl_ELEMENT_ARRAY_BUFFER_BINDING :: GLenum Source

gl_VERTEX_ARRAY_BUFFER_BINDING :: GLenum Source

gl_NORMAL_ARRAY_BUFFER_BINDING :: GLenum Source

gl_COLOR_ARRAY_BUFFER_BINDING :: GLenum Source

gl_INDEX_ARRAY_BUFFER_BINDING :: GLenum Source

gl_TEXTURE_COORD_ARRAY_BUFFER_BINDING :: GLenum Source

gl_EDGE_FLAG_ARRAY_BUFFER_BINDING :: GLenum Source

gl_SECONDARY_COLOR_ARRAY_BUFFER_BINDING :: GLenum Source

gl_FOG_COORDINATE_ARRAY_BUFFER_BINDING :: GLenum Source

gl_WEIGHT_ARRAY_BUFFER_BINDING :: GLenum Source

gl_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: GLenum Source

gl_STREAM_DRAW :: GLenum Source

gl_STREAM_READ :: GLenum Source

gl_STREAM_COPY :: GLenum Source

gl_STATIC_DRAW :: GLenum Source

gl_STATIC_READ :: GLenum Source

gl_STATIC_COPY :: GLenum Source

gl_DYNAMIC_DRAW :: GLenum Source

gl_DYNAMIC_READ :: GLenum Source

gl_DYNAMIC_COPY :: GLenum Source

gl_READ_ONLY :: GLenum Source

gl_WRITE_ONLY :: GLenum Source

gl_READ_WRITE :: GLenum Source

gl_BUFFER_SIZE :: GLenum Source

gl_BUFFER_USAGE :: GLenum Source

gl_BUFFER_ACCESS :: GLenum Source

gl_BUFFER_MAPPED :: GLenum Source

gl_BUFFER_MAP_POINTER :: GLenum Source