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

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

Graphics.GL.ARB.ClearBufferObject

Contents

Description

 

Synopsis

Extension Support

gl_ARB_clear_buffer_object :: Bool Source #

Is the ARB_clear_buffer_object extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBClearBufferObject in those cases instead.

Functions

glClearBufferData Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

internalformat.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

data pointing to COMPSIZE(format,type) elements of type a.

-> m () 

Manual page for OpenGL 4.x.

glClearBufferSubData Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLenum

internalformat.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

data pointing to COMPSIZE(format,type) elements of type a.

-> m () 

Manual page for OpenGL 4.x.