{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIS.SharpenTexture (
gl_SGIS_sharpen_texture
, glGetSharpenTexFuncSGIS
, glSharpenTexFuncSGIS
, pattern GL_LINEAR_SHARPEN_ALPHA_SGIS
, pattern GL_LINEAR_SHARPEN_COLOR_SGIS
, pattern GL_LINEAR_SHARPEN_SGIS
, pattern GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS
) 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_SGIS_sharpen_texture :: Bool
gl_SGIS_sharpen_texture :: Bool
gl_SGIS_sharpen_texture = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIS_sharpen_texture" Set [Char]
extensions
{-# NOINLINE gl_SGIS_sharpen_texture #-}
glGetSharpenTexFuncSGIS :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glGetSharpenTexFuncSGIS :: GLenum -> Ptr GLfloat -> m ()
glGetSharpenTexFuncSGIS = FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
ffienumPtrfloatIOV FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetSharpenTexFuncSGISFunPtr
glGetSharpenTexFuncSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetSharpenTexFuncSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetSharpenTexFuncSGISFunPtr = IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetSharpenTexFuncSGIS")
{-# NOINLINE glGetSharpenTexFuncSGISFunPtr #-}
glSharpenTexFuncSGIS :: MonadIO m => GLenum -> GLsizei -> Ptr GLfloat -> m ()
glSharpenTexFuncSGIS :: GLenum -> GLsizei -> Ptr GLfloat -> m ()
glSharpenTexFuncSGIS = FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> Ptr GLfloat -> m ()
ffienumsizeiPtrfloatIOV FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glSharpenTexFuncSGISFunPtr
glSharpenTexFuncSGISFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glSharpenTexFuncSGISFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glSharpenTexFuncSGISFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSharpenTexFuncSGIS")
{-# NOINLINE glSharpenTexFuncSGISFunPtr #-}
pattern $bGL_LINEAR_SHARPEN_ALPHA_SGIS :: a
$mGL_LINEAR_SHARPEN_ALPHA_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE
pattern $bGL_LINEAR_SHARPEN_COLOR_SGIS :: a
$mGL_LINEAR_SHARPEN_COLOR_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF
pattern $bGL_LINEAR_SHARPEN_SGIS :: a
$mGL_LINEAR_SHARPEN_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_SHARPEN_SGIS = 0x80AD
pattern $bGL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS :: a
$mGL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0