gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.ClearTexture

Synopsis

Extension Support

gl_ARB_clear_texture :: Bool Source #

Checks that the GL_ARB_clear_texture extension is available.

GL_ARB_clear_texture

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

Usage: glClearTexImage texture level format type data

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

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

glClearTexSubImage :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glClearTexSubImage texture level xoffset yoffset zoffset width height depth format type data

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

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

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