Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_clear_buffer_object :: Bool
- glClearBufferData :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> Ptr () -> m ()
- glClearBufferSubData :: MonadIO m => GLenum -> GLenum -> GLintptr -> GLsizeiptr -> GLenum -> GLenum -> Ptr () -> m ()
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