{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIX.PixelTexture (
gl_SGIX_pixel_texture
, glPixelTexGenSGIX
, pattern GL_PIXEL_TEX_GEN_MODE_SGIX
, pattern GL_PIXEL_TEX_GEN_SGIX
) 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_SGIX_pixel_texture :: Bool
gl_SGIX_pixel_texture :: Bool
gl_SGIX_pixel_texture = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIX_pixel_texture" Set [Char]
extensions
{-# NOINLINE gl_SGIX_pixel_texture #-}
glPixelTexGenSGIX :: MonadIO m => GLenum -> m ()
glPixelTexGenSGIX :: GLenum -> m ()
glPixelTexGenSGIX = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glPixelTexGenSGIXFunPtr
glPixelTexGenSGIXFunPtr :: FunPtr (GLenum -> IO ())
glPixelTexGenSGIXFunPtr :: FunPtr (GLenum -> IO ())
glPixelTexGenSGIXFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glPixelTexGenSGIX")
{-# NOINLINE glPixelTexGenSGIXFunPtr #-}
pattern $bGL_PIXEL_TEX_GEN_MODE_SGIX :: a
$mGL_PIXEL_TEX_GEN_MODE_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B
pattern $bGL_PIXEL_TEX_GEN_SGIX :: a
$mGL_PIXEL_TEX_GEN_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PIXEL_TEX_GEN_SGIX = 0x8139