OpenGLRaw-3.3.4.1: A raw binding for the OpenGL graphics system
Copyright(c) Sven Panne 2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.VertexBufferObject

Description

 
Synopsis

Extension Support

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

Functions

glBindBufferARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLuint

buffer.

-> m () 

This command is an alias for glBindBuffer.

glBufferDataARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLsizeiptrARB

size of type BufferSizeARB.

-> Ptr a

data pointing to size elements of type a.

-> GLenum

usage of type BufferUsageARB.

-> m () 

This command is an alias for glBufferData.

glBufferSubDataARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptrARB

offset of type BufferOffsetARB.

-> GLsizeiptrARB

size of type BufferSizeARB.

-> Ptr a

data pointing to size elements of type a.

-> m () 

This command is an alias for glBufferSubData.

glDeleteBuffersARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

This command is an alias for glDeleteBuffers.

glGenBuffersARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers pointing to n elements of type GLuint.

-> m () 

This command is an alias for glGenBuffers.

glGetBufferParameterivARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPNameARB.

-> Ptr GLint

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

-> m () 

This command is an alias for glGetBufferParameteriv.

glGetBufferPointervARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

pname of type BufferPointerNameARB.

-> Ptr (Ptr a)

params pointing to 1 element of type Ptr a.

-> m () 

This command is an alias for glGetBufferPointerv.

glGetBufferSubDataARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLintptrARB

offset of type BufferOffsetARB.

-> GLsizeiptrARB

size of type BufferSizeARB.

-> Ptr a

data pointing to size elements of type a.

-> m () 

This command is an alias for glGetBufferSubData.

glIsBufferARB Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> m GLboolean

of type Boolean.

This command is an alias for glIsBuffer.

glMapBufferARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> GLenum

access of type BufferAccessARB.

-> m (Ptr a) 

This command is an alias for glMapBuffer.

glUnmapBufferARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type BufferTargetARB.

-> m GLboolean

of type Boolean.

This command is an alias for glUnmapBuffer.