{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.AMD.VertexShaderTessellator (
gl_AMD_vertex_shader_tessellator
, glTessellationFactorAMD
, glTessellationModeAMD
, pattern GL_CONTINUOUS_AMD
, pattern GL_DISCRETE_AMD
, pattern GL_INT_SAMPLER_BUFFER_AMD
, pattern GL_SAMPLER_BUFFER_AMD
, pattern GL_TESSELLATION_FACTOR_AMD
, pattern GL_TESSELLATION_MODE_AMD
, pattern GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD
) 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_AMD_vertex_shader_tessellator :: Bool
gl_AMD_vertex_shader_tessellator :: Bool
gl_AMD_vertex_shader_tessellator = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_AMD_vertex_shader_tessellator" Set [Char]
extensions
{-# NOINLINE gl_AMD_vertex_shader_tessellator #-}
glTessellationFactorAMD :: MonadIO m => GLfloat -> m ()
glTessellationFactorAMD :: GLfloat -> m ()
glTessellationFactorAMD = FunPtr (GLfloat -> IO ()) -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLfloat -> IO ()) -> GLfloat -> m ()
ffifloatIOV FunPtr (GLfloat -> IO ())
glTessellationFactorAMDFunPtr
glTessellationFactorAMDFunPtr :: FunPtr (GLfloat -> IO ())
glTessellationFactorAMDFunPtr :: FunPtr (GLfloat -> IO ())
glTessellationFactorAMDFunPtr = IO (FunPtr (GLfloat -> IO ())) -> FunPtr (GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTessellationFactorAMD")
{-# NOINLINE glTessellationFactorAMDFunPtr #-}
glTessellationModeAMD :: MonadIO m => GLenum -> m ()
glTessellationModeAMD :: GLenum -> m ()
glTessellationModeAMD = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glTessellationModeAMDFunPtr
glTessellationModeAMDFunPtr :: FunPtr (GLenum -> IO ())
glTessellationModeAMDFunPtr :: FunPtr (GLenum -> IO ())
glTessellationModeAMDFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTessellationModeAMD")
{-# NOINLINE glTessellationModeAMDFunPtr #-}
pattern $bGL_CONTINUOUS_AMD :: a
$mGL_CONTINUOUS_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONTINUOUS_AMD = 0x9007
pattern $bGL_DISCRETE_AMD :: a
$mGL_DISCRETE_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DISCRETE_AMD = 0x9006
pattern $bGL_INT_SAMPLER_BUFFER_AMD :: a
$mGL_INT_SAMPLER_BUFFER_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INT_SAMPLER_BUFFER_AMD = 0x9002
pattern $bGL_SAMPLER_BUFFER_AMD :: a
$mGL_SAMPLER_BUFFER_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLER_BUFFER_AMD = 0x9001
pattern $bGL_TESSELLATION_FACTOR_AMD :: a
$mGL_TESSELLATION_FACTOR_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TESSELLATION_FACTOR_AMD = 0x9005
pattern $bGL_TESSELLATION_MODE_AMD :: a
$mGL_TESSELLATION_MODE_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TESSELLATION_MODE_AMD = 0x9004
pattern $bGL_UNSIGNED_INT_SAMPLER_BUFFER_AMD :: a
$mGL_UNSIGNED_INT_SAMPLER_BUFFER_AMD :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = 0x9003