{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ATI.PnTriangles (
gl_ATI_pn_triangles
, glPNTrianglesfATI
, glPNTrianglesiATI
, pattern GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI
, pattern GL_PN_TRIANGLES_ATI
, pattern GL_PN_TRIANGLES_NORMAL_MODE_ATI
, pattern GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI
, pattern GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI
, pattern GL_PN_TRIANGLES_POINT_MODE_ATI
, pattern GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI
, pattern GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI
, pattern GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI
) 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_ATI_pn_triangles :: Bool
gl_ATI_pn_triangles :: Bool
gl_ATI_pn_triangles = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ATI_pn_triangles" Set [Char]
extensions
{-# NOINLINE gl_ATI_pn_triangles #-}
glPNTrianglesfATI :: MonadIO m => GLenum -> GLfloat -> m ()
glPNTrianglesfATI :: GLenum -> GLfloat -> m ()
glPNTrianglesfATI = FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
ffienumfloatIOV FunPtr (GLenum -> GLfloat -> IO ())
glPNTrianglesfATIFunPtr
glPNTrianglesfATIFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPNTrianglesfATIFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glPNTrianglesfATIFunPtr = 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 "glPNTrianglesfATI")
{-# NOINLINE glPNTrianglesfATIFunPtr #-}
glPNTrianglesiATI :: MonadIO m => GLenum -> GLint -> m ()
glPNTrianglesiATI :: GLenum -> GLint -> m ()
glPNTrianglesiATI = FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLint -> IO ()) -> GLenum -> GLint -> m ()
ffienumintIOV FunPtr (GLenum -> GLint -> IO ())
glPNTrianglesiATIFunPtr
glPNTrianglesiATIFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glPNTrianglesiATIFunPtr :: FunPtr (GLenum -> GLint -> IO ())
glPNTrianglesiATIFunPtr = 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 "glPNTrianglesiATI")
{-# NOINLINE glPNTrianglesiATIFunPtr #-}
pattern $bGL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI :: a
$mGL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1
pattern $bGL_PN_TRIANGLES_ATI :: a
$mGL_PN_TRIANGLES_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_ATI = 0x87F0
pattern $bGL_PN_TRIANGLES_NORMAL_MODE_ATI :: a
$mGL_PN_TRIANGLES_NORMAL_MODE_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3
pattern $bGL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI :: a
$mGL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7
pattern $bGL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI :: a
$mGL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8
pattern $bGL_PN_TRIANGLES_POINT_MODE_ATI :: a
$mGL_PN_TRIANGLES_POINT_MODE_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2
pattern $bGL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI :: a
$mGL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6
pattern $bGL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI :: a
$mGL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5
pattern $bGL_PN_TRIANGLES_TESSELATION_LEVEL_ATI :: a
$mGL_PN_TRIANGLES_TESSELATION_LEVEL_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4