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

Copyright(c) Sven Panne 2017
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 of type BufferStorageTarget.

-> GLenum

internalformat of type InternalFormat.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> 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 of type InternalFormat.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

Manual page for OpenGL 4.x.