{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIX.Sprite (
gl_SGIX_sprite
, glSpriteParameterfSGIX
, glSpriteParameterfvSGIX
, glSpriteParameteriSGIX
, glSpriteParameterivSGIX
, pattern GL_SPRITE_AXIAL_SGIX
, pattern GL_SPRITE_AXIS_SGIX
, pattern GL_SPRITE_EYE_ALIGNED_SGIX
, pattern GL_SPRITE_MODE_SGIX
, pattern GL_SPRITE_OBJECT_ALIGNED_SGIX
, pattern GL_SPRITE_SGIX
, pattern GL_SPRITE_TRANSLATION_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_sprite :: Bool
gl_SGIX_sprite :: Bool
gl_SGIX_sprite = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIX_sprite" Set [Char]
extensions
{-# NOINLINE gl_SGIX_sprite #-}
glSpriteParameterfSGIX :: MonadIO m => GLenum -> GLfloat -> m ()
glSpriteParameterfSGIX :: GLenum -> GLfloat -> m ()
glSpriteParameterfSGIX = FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
ffienumfloatIOV FunPtr (GLenum -> GLfloat -> IO ())
glSpriteParameterfSGIXFunPtr
glSpriteParameterfSGIXFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glSpriteParameterfSGIXFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glSpriteParameterfSGIXFunPtr = IO (FunPtr (GLenum -> GLfloat -> IO ()))
-> FunPtr (GLenum -> GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSpriteParameterfSGIX")
{-# NOINLINE glSpriteParameterfSGIXFunPtr #-}
glSpriteParameterfvSGIX :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glSpriteParameterfvSGIX :: GLenum -> Ptr GLfloat -> m ()
glSpriteParameterfvSGIX = 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 ())
glSpriteParameterfvSGIXFunPtr
glSpriteParameterfvSGIXFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glSpriteParameterfvSGIXFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glSpriteParameterfvSGIXFunPtr = 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 "glSpriteParameterfvSGIX")
{-# NOINLINE glSpriteParameterfvSGIXFunPtr #-}
glSpriteParameteriSGIX :: MonadIO m => GLenum -> GLint -> m ()
glSpriteParameteriSGIX :: GLenum -> GLint -> m ()
glSpriteParameteriSGIX = FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
ffienumintIOV FunPtr (GLenum -> GLint -> IO ())
glSpriteParameteriSGIXFunPtr
glSpriteParameteriSGIXFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glSpriteParameteriSGIXFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glSpriteParameteriSGIXFunPtr = IO (FunPtr (GLenum -> GLint -> IO ()))
-> FunPtr (GLenum -> GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSpriteParameteriSGIX")
{-# NOINLINE glSpriteParameteriSGIXFunPtr #-}
glSpriteParameterivSGIX :: MonadIO m => GLenum -> Ptr GLint -> m ()
glSpriteParameterivSGIX :: GLenum -> Ptr GLint -> m ()
glSpriteParameterivSGIX = FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
ffienumPtrintIOV FunPtr (GLenum -> Ptr GLint -> IO ())
glSpriteParameterivSGIXFunPtr
glSpriteParameterivSGIXFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glSpriteParameterivSGIXFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glSpriteParameterivSGIXFunPtr = IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
-> FunPtr (GLenum -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSpriteParameterivSGIX")
{-# NOINLINE glSpriteParameterivSGIXFunPtr #-}
pattern $bGL_SPRITE_AXIAL_SGIX :: a
$mGL_SPRITE_AXIAL_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_AXIAL_SGIX = 0x814C
pattern $bGL_SPRITE_AXIS_SGIX :: a
$mGL_SPRITE_AXIS_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_AXIS_SGIX = 0x814A
pattern $bGL_SPRITE_EYE_ALIGNED_SGIX :: a
$mGL_SPRITE_EYE_ALIGNED_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E
pattern $bGL_SPRITE_MODE_SGIX :: a
$mGL_SPRITE_MODE_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_MODE_SGIX = 0x8149
pattern $bGL_SPRITE_OBJECT_ALIGNED_SGIX :: a
$mGL_SPRITE_OBJECT_ALIGNED_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D
pattern $bGL_SPRITE_SGIX :: a
$mGL_SPRITE_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_SGIX = 0x8148
pattern $bGL_SPRITE_TRANSLATION_SGIX :: a
$mGL_SPRITE_TRANSLATION_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SPRITE_TRANSLATION_SGIX = 0x814B