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 = member "GL_SGIX_sprite" extensions
glSpriteParameterfSGIX :: MonadIO m => GLenum -> GLfloat -> m ()
glSpriteParameterfSGIX = ffienumfloatIOV glSpriteParameterfSGIXFunPtr
glSpriteParameterfSGIXFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glSpriteParameterfSGIXFunPtr = unsafePerformIO (getProcAddress "glSpriteParameterfSGIX")
glSpriteParameterfvSGIX :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glSpriteParameterfvSGIX = ffienumPtrfloatIOV glSpriteParameterfvSGIXFunPtr
glSpriteParameterfvSGIXFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glSpriteParameterfvSGIXFunPtr = unsafePerformIO (getProcAddress "glSpriteParameterfvSGIX")
glSpriteParameteriSGIX :: MonadIO m => GLenum -> GLint -> m ()
glSpriteParameteriSGIX = ffienumintIOV glSpriteParameteriSGIXFunPtr
glSpriteParameteriSGIXFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glSpriteParameteriSGIXFunPtr = unsafePerformIO (getProcAddress "glSpriteParameteriSGIX")
glSpriteParameterivSGIX :: MonadIO m => GLenum -> Ptr GLint -> m ()
glSpriteParameterivSGIX = ffienumPtrintIOV glSpriteParameterivSGIXFunPtr
glSpriteParameterivSGIXFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glSpriteParameterivSGIXFunPtr = unsafePerformIO (getProcAddress "glSpriteParameterivSGIX")
pattern GL_SPRITE_AXIAL_SGIX = 0x814C
pattern GL_SPRITE_AXIS_SGIX = 0x814A
pattern GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E
pattern GL_SPRITE_MODE_SGIX = 0x8149
pattern GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D
pattern GL_SPRITE_SGIX = 0x8148
pattern GL_SPRITE_TRANSLATION_SGIX = 0x814B