{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.ProvokingVertex (
gl_EXT_provoking_vertex
, glProvokingVertexEXT
, pattern GL_FIRST_VERTEX_CONVENTION_EXT
, pattern GL_LAST_VERTEX_CONVENTION_EXT
, pattern GL_PROVOKING_VERTEX_EXT
, pattern GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT
) 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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_provoking_vertex :: Bool
gl_EXT_provoking_vertex :: Bool
gl_EXT_provoking_vertex = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_provoking_vertex" Set [Char]
extensions
{-# NOINLINE gl_EXT_provoking_vertex #-}
glProvokingVertexEXT :: MonadIO m => GLenum -> m ()
glProvokingVertexEXT :: GLenum -> m ()
glProvokingVertexEXT = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glProvokingVertexEXTFunPtr
glProvokingVertexEXTFunPtr :: FunPtr (GLenum -> IO ())
glProvokingVertexEXTFunPtr :: FunPtr (GLenum -> IO ())
glProvokingVertexEXTFunPtr = 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 "glProvokingVertexEXT")
{-# NOINLINE glProvokingVertexEXTFunPtr #-}
pattern $bGL_PROVOKING_VERTEX_EXT :: a
$mGL_PROVOKING_VERTEX_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PROVOKING_VERTEX_EXT = 0x8E4F
pattern $bGL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT :: a
$mGL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = 0x8E4C