gl-0.3: dist/build/autogen/Graphics/GL/Raw/Extension/SGIX/PixelTexture.hs
-- This file was automatically generated.
{-# LANGUAGE ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Raw.Extension.SGIX.PixelTexture (
-- * Extension Support
gl_SGIX_pixel_texture
-- * 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.Raw.Internal.FFI
import Graphics.GL.Raw.Internal.Proc
import Graphics.GL.Raw.Types
import System.IO.Unsafe
gl_SGIX_pixel_texture :: Bool
gl_SGIX_pixel_texture = member "GL_SGIX_pixel_texture" extensions
glPixelTexGenSGIX :: MonadIO m => GLenum -> m ()
glPixelTexGenSGIX = ffienumIOV glPixelTexGenSGIXFunPtr
glPixelTexGenSGIXFunPtr :: FunPtr (GLenum -> IO ())
glPixelTexGenSGIXFunPtr = unsafePerformIO (getProcAddress "glPixelTexGenSGIX")
{-# NOINLINE glPixelTexGenSGIXFunPtr #-}
pattern GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B
pattern GL_PIXEL_TEX_GEN_SGIX = 0x8139