Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_clear_texture :: Bool
- glClearTexImage :: MonadIO m => GLuint -> GLint -> GLenum -> GLenum -> Ptr () -> m ()
- glClearTexSubImage :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m ()
- pattern GL_CLEAR_TEXTURE :: (Eq a, Num a) => a
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 #