{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.ClearTexture (
gl_EXT_clear_texture
, glClearTexImageEXT
, glClearTexSubImageEXT
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_clear_texture :: Bool
gl_EXT_clear_texture :: Bool
gl_EXT_clear_texture = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_clear_texture" Set [Char]
extensions
{-# NOINLINE gl_EXT_clear_texture #-}
glClearTexImageEXT :: MonadIO m => GLuint -> GLint -> GLenum -> GLenum -> Ptr () -> m ()
glClearTexImageEXT :: GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> m ()
glClearTexImageEXT = FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ())
-> GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ())
-> GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> m ()
ffiuintintenumenumPtrVIOV FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ())
glClearTexImageEXTFunPtr
glClearTexImageEXTFunPtr :: FunPtr (GLuint -> GLint -> GLenum -> GLenum -> Ptr () -> IO ())
glClearTexImageEXTFunPtr :: FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ())
glClearTexImageEXTFunPtr = IO
(FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ()))
-> FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLuint -> GLint -> GLuint -> GLuint -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glClearTexImageEXT")
{-# NOINLINE glClearTexImageEXTFunPtr #-}
glClearTexSubImageEXT :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m ()
glClearTexSubImageEXT :: GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> m ()
glClearTexSubImageEXT = FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ())
-> GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ())
-> GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> m ()
ffiuintintintintintsizeisizeisizeienumenumPtrVIOV FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ())
glClearTexSubImageEXTFunPtr
glClearTexSubImageEXTFunPtr :: FunPtr (GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> IO ())
glClearTexSubImageEXTFunPtr :: FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ())
glClearTexSubImageEXTFunPtr = IO
(FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ()))
-> FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLuint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLuint
-> GLuint
-> Ptr ()
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glClearTexSubImageEXT")
{-# NOINLINE glClearTexSubImageEXTFunPtr #-}