-- This file was automatically generated. {-# LANGUAGE ScopedTypeVariables, PatternSynonyms #-} module Graphics.GL.Raw.Extension.ARB.PointParameters ( -- * Extension Support gl_ARB_point_parameters -- * 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.Raw.Internal.FFI import Graphics.GL.Raw.Internal.Proc import Graphics.GL.Raw.Types import System.IO.Unsafe -- | Checks that the extension is available. gl_ARB_point_parameters :: Bool gl_ARB_point_parameters = member "GL_ARB_point_parameters" extensions {-# NOINLINE gl_ARB_point_parameters #-} -- | Usage: @'glPointParameterfARB' pname param@ -- -- The parameter @pname@ is a @PointParameterNameARB@. -- -- The parameter @param@ is a @CheckedFloat32@. -- -- This command is an alias for 'Graphics.GL.Raw.Internal.Shared.glPointParameterf'. glPointParameterfARB :: MonadIO m => GLenum -> GLfloat -> m () glPointParameterfARB = ffienumfloatIOV glPointParameterfARBFunPtr glPointParameterfARBFunPtr :: FunPtr (GLenum -> GLfloat -> IO ()) glPointParameterfARBFunPtr = unsafePerformIO (getProcAddress "glPointParameterfARB") {-# NOINLINE glPointParameterfARBFunPtr #-} -- | Usage: @'glPointParameterfvARB' pname params@ -- -- The parameter @pname@ is a @PointParameterNameARB@. -- -- The parameter @params@ is a @CheckedFloat32@. -- -- The length of @params@ should be @COMPSIZE(pname)@. -- -- This command is an alias for 'Graphics.GL.Raw.Internal.Shared.glPointParameterfv'. glPointParameterfvARB :: MonadIO m => GLenum -> Ptr GLfloat -> m () glPointParameterfvARB = ffienumPtrfloatIOV glPointParameterfvARBFunPtr glPointParameterfvARBFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ()) glPointParameterfvARBFunPtr = unsafePerformIO (getProcAddress "glPointParameterfvARB") {-# NOINLINE glPointParameterfvARBFunPtr #-} pattern GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129 pattern GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128 pattern GL_POINT_SIZE_MAX_ARB = 0x8127 pattern GL_POINT_SIZE_MIN_ARB = 0x8126