{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.TextureBorderClamp (
gl_EXT_texture_border_clamp
, glGetSamplerParameterIivEXT
, glGetSamplerParameterIuivEXT
, glGetTexParameterIivEXT
, glGetTexParameterIuivEXT
, glSamplerParameterIivEXT
, glSamplerParameterIuivEXT
, glTexParameterIivEXT
, glTexParameterIuivEXT
, pattern GL_CLAMP_TO_BORDER_EXT
, pattern GL_TEXTURE_BORDER_COLOR_EXT
) 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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_texture_border_clamp :: Bool
gl_EXT_texture_border_clamp :: Bool
gl_EXT_texture_border_clamp = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_texture_border_clamp" Set [Char]
extensions
{-# NOINLINE gl_EXT_texture_border_clamp #-}
glGetSamplerParameterIivEXT :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
glGetSamplerParameterIivEXT :: GLuint -> GLuint -> Ptr GLint -> m ()
glGetSamplerParameterIivEXT = FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLint -> m ()
ffiuintenumPtrintIOV FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
glGetSamplerParameterIivEXTFunPtr
glGetSamplerParameterIivEXTFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLint -> IO ())
glGetSamplerParameterIivEXTFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
glGetSamplerParameterIivEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ()))
-> FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetSamplerParameterIivEXT")
{-# NOINLINE glGetSamplerParameterIivEXTFunPtr #-}
glGetSamplerParameterIuivEXT :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m ()
glGetSamplerParameterIuivEXT :: GLuint -> GLuint -> Ptr GLuint -> m ()
glGetSamplerParameterIuivEXT = FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
-> GLuint -> GLuint -> Ptr GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
-> GLuint -> GLuint -> Ptr GLuint -> m ()
ffiuintenumPtruintIOV FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
glGetSamplerParameterIuivEXTFunPtr
glGetSamplerParameterIuivEXTFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLuint -> IO ())
glGetSamplerParameterIuivEXTFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
glGetSamplerParameterIuivEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetSamplerParameterIuivEXT")
{-# NOINLINE glGetSamplerParameterIuivEXTFunPtr #-}
glSamplerParameterIivEXT :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
glSamplerParameterIivEXT :: GLuint -> GLuint -> Ptr GLint -> m ()
glSamplerParameterIivEXT = FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLint -> m ()
ffiuintenumPtrintIOV FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
glSamplerParameterIivEXTFunPtr
glSamplerParameterIivEXTFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLint -> IO ())
glSamplerParameterIivEXTFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
glSamplerParameterIivEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ()))
-> FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSamplerParameterIivEXT")
{-# NOINLINE glSamplerParameterIivEXTFunPtr #-}
glSamplerParameterIuivEXT :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m ()
glSamplerParameterIuivEXT :: GLuint -> GLuint -> Ptr GLuint -> m ()
glSamplerParameterIuivEXT = FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
-> GLuint -> GLuint -> Ptr GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
-> GLuint -> GLuint -> Ptr GLuint -> m ()
ffiuintenumPtruintIOV FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
glSamplerParameterIuivEXTFunPtr
glSamplerParameterIuivEXTFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLuint -> IO ())
glSamplerParameterIuivEXTFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
glSamplerParameterIuivEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> Ptr GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSamplerParameterIuivEXT")
{-# NOINLINE glSamplerParameterIuivEXTFunPtr #-}
pattern $bGL_CLAMP_TO_BORDER_EXT :: a
$mGL_CLAMP_TO_BORDER_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CLAMP_TO_BORDER_EXT = 0x812D
pattern $bGL_TEXTURE_BORDER_COLOR_EXT :: a
$mGL_TEXTURE_BORDER_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BORDER_COLOR_EXT = 0x1004