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 = member "GL_AMD_vertex_shader_tessellator" extensions
glTessellationFactorAMD :: MonadIO m => GLfloat -> m ()
glTessellationFactorAMD = ffifloatIOV glTessellationFactorAMDFunPtr
glTessellationFactorAMDFunPtr :: FunPtr (GLfloat -> IO ())
glTessellationFactorAMDFunPtr = unsafePerformIO (getProcAddress "glTessellationFactorAMD")
glTessellationModeAMD :: MonadIO m => GLenum -> m ()
glTessellationModeAMD = ffienumIOV glTessellationModeAMDFunPtr
glTessellationModeAMDFunPtr :: FunPtr (GLenum -> IO ())
glTessellationModeAMDFunPtr = unsafePerformIO (getProcAddress "glTessellationModeAMD")
pattern GL_CONTINUOUS_AMD = 0x9007
pattern GL_DISCRETE_AMD = 0x9006
pattern GL_INT_SAMPLER_BUFFER_AMD = 0x9002
pattern GL_SAMPLER_BUFFER_AMD = 0x9001
pattern GL_TESSELLATION_FACTOR_AMD = 0x9005
pattern GL_TESSELLATION_MODE_AMD = 0x9004
pattern GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = 0x9003