gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.VertexBufferObject

Synopsis

Extension Support

gl_ARB_vertex_buffer_object :: Bool Source #

Checks that the GL_ARB_vertex_buffer_object extension is available.

GL_ARB_vertex_buffer_object

glBindBufferARB :: MonadIO m => GLenum -> GLuint -> m () Source #

Usage: glBindBufferARB target buffer

The parameter target is a BufferTargetARB.

This command is an alias for glBindBuffer.

glBufferDataARB :: MonadIO m => GLenum -> GLsizeiptrARB -> Ptr () -> GLenum -> m () Source #

Usage: glBufferDataARB target size data usage

The parameter target is a BufferTargetARB.

The parameter size is a BufferSizeARB.

The parameter usage is a BufferUsageARB.

The length of data should be size.

This command is an alias for glBufferData.

glBufferSubDataARB :: MonadIO m => GLenum -> GLintptrARB -> GLsizeiptrARB -> Ptr () -> m () Source #

Usage: glBufferSubDataARB target offset size data

The parameter target is a BufferTargetARB.

The parameter offset is a BufferOffsetARB.

The parameter size is a BufferSizeARB.

The length of data should be size.

This command is an alias for glBufferSubData.

glDeleteBuffersARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glDeleteBuffersARB n buffers

The length of buffers should be n.

This command is an alias for glDeleteBuffers.

glGenBuffersARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glGenBuffersARB n buffers

The length of buffers should be n.

This command is an alias for glGenBuffers.

glGetBufferParameterivARB :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetBufferParameterivARB target pname params

The parameter target is a BufferTargetARB.

The parameter pname is a BufferPNameARB.

The length of params should be COMPSIZE(pname).

This command is an alias for glGetBufferParameteriv.

glGetBufferPointervARB :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr ()) -> m () Source #

Usage: glGetBufferPointervARB target pname params

The parameter target is a BufferTargetARB.

The parameter pname is a BufferPointerNameARB.

The length of params should be 1.

This command is an alias for glGetBufferPointerv.

glGetBufferSubDataARB :: MonadIO m => GLenum -> GLintptrARB -> GLsizeiptrARB -> Ptr () -> m () Source #

Usage: glGetBufferSubDataARB target offset size data

The parameter target is a BufferTargetARB.

The parameter offset is a BufferOffsetARB.

The parameter size is a BufferSizeARB.

The length of data should be size.

This command is an alias for glGetBufferSubData.

glIsBufferARB :: MonadIO m => GLuint -> m GLboolean Source #

Usage: glIsBufferARB buffer

This command is an alias for glIsBuffer.

glMapBufferARB :: MonadIO m => GLenum -> GLenum -> m (Ptr ()) Source #

Usage: glMapBufferARB target access

The parameter target is a BufferTargetARB.

The parameter access is a BufferAccessARB.

This command is an alias for glMapBuffer.

glUnmapBufferARB :: MonadIO m => GLenum -> m GLboolean Source #

Usage: glUnmapBufferARB target

The parameter target is a BufferTargetARB.

This command is an alias for glUnmapBuffer.

pattern GL_ARRAY_BUFFER_ARB :: (Eq a, Num a) => a Source #

pattern GL_ARRAY_BUFFER_BINDING_ARB :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_ACCESS_ARB :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_MAPPED_ARB :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_MAP_POINTER_ARB :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_SIZE_ARB :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_USAGE_ARB :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_COPY_ARB :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_DRAW_ARB :: (Eq a, Num a) => a Source #

pattern GL_DYNAMIC_READ_ARB :: (Eq a, Num a) => a Source #

pattern GL_ELEMENT_ARRAY_BUFFER_ARB :: (Eq a, Num a) => a Source #

pattern GL_READ_ONLY_ARB :: (Eq a, Num a) => a Source #

pattern GL_READ_WRITE_ARB :: (Eq a, Num a) => a Source #

pattern GL_STATIC_COPY_ARB :: (Eq a, Num a) => a Source #

pattern GL_STATIC_DRAW_ARB :: (Eq a, Num a) => a Source #

pattern GL_STATIC_READ_ARB :: (Eq a, Num a) => a Source #

pattern GL_STREAM_COPY_ARB :: (Eq a, Num a) => a Source #

pattern GL_STREAM_DRAW_ARB :: (Eq a, Num a) => a Source #

pattern GL_STREAM_READ_ARB :: (Eq a, Num a) => a Source #

pattern GL_WRITE_ONLY_ARB :: (Eq a, Num a) => a Source #