{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIS.DetailTexture (
gl_SGIS_detail_texture
, glDetailTexFuncSGIS
, glGetDetailTexFuncSGIS
, pattern GL_DETAIL_TEXTURE_2D_BINDING_SGIS
, pattern GL_DETAIL_TEXTURE_2D_SGIS
, pattern GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS
, pattern GL_DETAIL_TEXTURE_LEVEL_SGIS
, pattern GL_DETAIL_TEXTURE_MODE_SGIS
, pattern GL_LINEAR_DETAIL_ALPHA_SGIS
, pattern GL_LINEAR_DETAIL_COLOR_SGIS
, pattern GL_LINEAR_DETAIL_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_detail_texture :: Bool
gl_SGIS_detail_texture :: Bool
gl_SGIS_detail_texture = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIS_detail_texture" Set [Char]
extensions
{-# NOINLINE gl_SGIS_detail_texture #-}
glDetailTexFuncSGIS :: MonadIO m => GLenum -> GLsizei -> Ptr GLfloat -> m ()
glDetailTexFuncSGIS :: GLenum -> GLsizei -> Ptr GLfloat -> m ()
glDetailTexFuncSGIS = 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 ())
glDetailTexFuncSGISFunPtr
glDetailTexFuncSGISFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glDetailTexFuncSGISFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glDetailTexFuncSGISFunPtr = 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 "glDetailTexFuncSGIS")
{-# NOINLINE glDetailTexFuncSGISFunPtr #-}
glGetDetailTexFuncSGIS :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glGetDetailTexFuncSGIS :: GLenum -> Ptr GLfloat -> m ()
glGetDetailTexFuncSGIS = 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 ())
glGetDetailTexFuncSGISFunPtr
glGetDetailTexFuncSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetDetailTexFuncSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetDetailTexFuncSGISFunPtr = 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 "glGetDetailTexFuncSGIS")
{-# NOINLINE glGetDetailTexFuncSGISFunPtr #-}
pattern $bGL_DETAIL_TEXTURE_2D_BINDING_SGIS :: a
$mGL_DETAIL_TEXTURE_2D_BINDING_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096
pattern $bGL_DETAIL_TEXTURE_2D_SGIS :: a
$mGL_DETAIL_TEXTURE_2D_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DETAIL_TEXTURE_2D_SGIS = 0x8095
pattern $bGL_DETAIL_TEXTURE_FUNC_POINTS_SGIS :: a
$mGL_DETAIL_TEXTURE_FUNC_POINTS_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C
pattern $bGL_DETAIL_TEXTURE_LEVEL_SGIS :: a
$mGL_DETAIL_TEXTURE_LEVEL_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A
pattern $bGL_DETAIL_TEXTURE_MODE_SGIS :: a
$mGL_DETAIL_TEXTURE_MODE_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B
pattern $bGL_LINEAR_DETAIL_ALPHA_SGIS :: a
$mGL_LINEAR_DETAIL_ALPHA_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098
pattern $bGL_LINEAR_DETAIL_COLOR_SGIS :: a
$mGL_LINEAR_DETAIL_COLOR_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099
pattern $bGL_LINEAR_DETAIL_SGIS :: a
$mGL_LINEAR_DETAIL_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LINEAR_DETAIL_SGIS = 0x8097