{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.PointSprite (
gl_NV_point_sprite
, glPointParameteriNV
, glPointParameterivNV
, pattern GL_COORD_REPLACE_NV
, pattern GL_POINT_SPRITE_NV
, pattern GL_POINT_SPRITE_R_MODE_NV
) 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_NV_point_sprite :: Bool
gl_NV_point_sprite :: Bool
gl_NV_point_sprite = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_point_sprite" Set [Char]
extensions
{-# NOINLINE gl_NV_point_sprite #-}
glPointParameteriNV :: MonadIO m => GLenum -> GLint -> m ()
glPointParameteriNV :: GLenum -> GLint -> m ()
glPointParameteriNV = FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
ffienumintIOV FunPtr (GLenum -> GLint -> IO ())
glPointParameteriNVFunPtr
glPointParameteriNVFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glPointParameteriNVFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glPointParameteriNVFunPtr = 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 "glPointParameteriNV")
{-# NOINLINE glPointParameteriNVFunPtr #-}
glPointParameterivNV :: MonadIO m => GLenum -> Ptr GLint -> m ()
glPointParameterivNV :: GLenum -> Ptr GLint -> m ()
glPointParameterivNV = 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 ())
glPointParameterivNVFunPtr
glPointParameterivNVFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glPointParameterivNVFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glPointParameterivNVFunPtr = 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 "glPointParameterivNV")
{-# NOINLINE glPointParameterivNVFunPtr #-}
pattern $bGL_COORD_REPLACE_NV :: a
$mGL_COORD_REPLACE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COORD_REPLACE_NV = 0x8862
pattern $bGL_POINT_SPRITE_NV :: a
$mGL_POINT_SPRITE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SPRITE_NV = 0x8861
pattern $bGL_POINT_SPRITE_R_MODE_NV :: a
$mGL_POINT_SPRITE_R_MODE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SPRITE_R_MODE_NV = 0x8863