{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.PointParameters (
gl_ARB_point_parameters
, glPointParameterfARB
, glPointParameterfvARB
, pattern GL_POINT_DISTANCE_ATTENUATION_ARB
, pattern GL_POINT_FADE_THRESHOLD_SIZE_ARB
, pattern GL_POINT_SIZE_MAX_ARB
, pattern GL_POINT_SIZE_MIN_ARB
) 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_ARB_point_parameters :: Bool
gl_ARB_point_parameters :: Bool
gl_ARB_point_parameters = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_point_parameters" Set [Char]
extensions
{-# NOINLINE gl_ARB_point_parameters #-}
glPointParameterfARB :: MonadIO m => GLenum -> GLfloat -> m ()
glPointParameterfARB :: GLenum -> GLfloat -> m ()
glPointParameterfARB = FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
ffienumfloatIOV FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfARBFunPtr
glPointParameterfARBFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfARBFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPointParameterfARBFunPtr = 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 "glPointParameterfARB")
{-# NOINLINE glPointParameterfARBFunPtr #-}
glPointParameterfvARB :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glPointParameterfvARB :: GLenum -> Ptr GLfloat -> m ()
glPointParameterfvARB = 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 ())
glPointParameterfvARBFunPtr
glPointParameterfvARBFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glPointParameterfvARBFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glPointParameterfvARBFunPtr = 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 "glPointParameterfvARB")
{-# NOINLINE glPointParameterfvARBFunPtr #-}
pattern $bGL_POINT_DISTANCE_ATTENUATION_ARB :: a
$mGL_POINT_DISTANCE_ATTENUATION_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129
pattern $bGL_POINT_FADE_THRESHOLD_SIZE_ARB :: a
$mGL_POINT_FADE_THRESHOLD_SIZE_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128
pattern $bGL_POINT_SIZE_MAX_ARB :: a
$mGL_POINT_SIZE_MAX_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SIZE_MAX_ARB = 0x8127
pattern $bGL_POINT_SIZE_MIN_ARB :: a
$mGL_POINT_SIZE_MIN_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_POINT_SIZE_MIN_ARB = 0x8126