{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIS.PointParameters (
gl_SGIS_point_parameters
, glPointParameterfSGIS
, glPointParameterfvSGIS
, pattern GL_DISTANCE_ATTENUATION_SGIS
, pattern GL_POINT_FADE_THRESHOLD_SIZE_SGIS
, pattern GL_POINT_SIZE_MAX_SGIS
, pattern GL_POINT_SIZE_MIN_SGIS
) 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_SGIS_point_parameters :: Bool
gl_SGIS_point_parameters :: Bool
gl_SGIS_point_parameters = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIS_point_parameters" Set [Char]
extensions
{-# NOINLINE gl_SGIS_point_parameters #-}
glPointParameterfSGIS :: MonadIO m => GLenum -> GLfloat -> m ()
glPointParameterfSGIS :: GLenum -> GLfloat -> m ()
glPointParameterfSGIS = FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
ffienumfloatIOV FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfSGISFunPtr
glPointParameterfSGISFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfSGISFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfSGISFunPtr = 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 "glPointParameterfSGIS")
{-# NOINLINE glPointParameterfSGISFunPtr #-}
glPointParameterfvSGIS :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glPointParameterfvSGIS :: GLenum -> Ptr GLfloat -> m ()
glPointParameterfvSGIS = 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 ())
glPointParameterfvSGISFunPtr
glPointParameterfvSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glPointParameterfvSGISFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glPointParameterfvSGISFunPtr = 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 "glPointParameterfvSGIS")
{-# NOINLINE glPointParameterfvSGISFunPtr #-}
pattern $bGL_DISTANCE_ATTENUATION_SGIS :: a
$mGL_DISTANCE_ATTENUATION_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DISTANCE_ATTENUATION_SGIS = 0x8129
pattern $bGL_POINT_FADE_THRESHOLD_SIZE_SGIS :: a
$mGL_POINT_FADE_THRESHOLD_SIZE_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128
pattern $bGL_POINT_SIZE_MAX_SGIS :: a
$mGL_POINT_SIZE_MAX_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SIZE_MAX_SGIS = 0x8127
pattern $bGL_POINT_SIZE_MIN_SGIS :: a
$mGL_POINT_SIZE_MIN_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SIZE_MIN_SGIS = 0x8126