gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.ClearBufferObject

Contents

Synopsis

Extension Support

gl_ARB_clear_buffer_object :: Bool Source #

Checks that the GL_ARB_clear_buffer_object extension is available.

GL_ARB_clear_buffer_object

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

Usage: glClearBufferData target internalformat format type data

The length of data should be COMPSIZE(format,type).

Manual page: https://www.opengl.org/sdk/docs/man/html/glClearBufferData.xhtml

glClearBufferSubData :: MonadIO m => GLenum -> GLenum -> GLintptr -> GLsizeiptr -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glClearBufferSubData target internalformat offset size format type data

The parameter offset is a BufferOffset.

The parameter size is a BufferSize.

The length of data should be COMPSIZE(format,type).

Manual page: https://www.opengl.org/sdk/docs/man/html/glClearBufferSubData.xhtml