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

Copyright(c) Sven Panne 2013
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.ARB.VertexBufferObject

Contents

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

Functions

glBindBuffer Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glDeleteBuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGenBuffers Source

Arguments

:: GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glIsBuffer Source

Arguments

:: GLuint

buffer.

-> IO GLboolean

of type Boolean.

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glBufferData Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glBufferSubData Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetBufferSubData Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glMapBuffer Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

access of type BufferAccessARB.

-> IO (Ptr a) 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUnmapBuffer Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> IO GLboolean

of type Boolean.

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetBufferParameteriv Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetBufferPointerv Source

Arguments

:: GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPointerNameARB.

-> Ptr (Ptr a)

params pointing to 1 elements of type Ptr a.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

Tokens