gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.EXT.ClearTexture

Synopsis

Extension Support

gl_EXT_clear_texture :: Bool Source #

Checks that the GL_EXT_clear_texture extension is available.

GL_EXT_clear_texture

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

Usage: glClearTexImageEXT texture level format type data

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

This command is an alias for glClearTexImage.

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

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

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

This command is an alias for glClearTexSubImage.