{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.InstancedArrays (
gl_ARB_instanced_arrays
, glVertexAttribDivisorARB
, pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB
) 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_ARB_instanced_arrays :: Bool
gl_ARB_instanced_arrays :: Bool
gl_ARB_instanced_arrays = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_instanced_arrays" Set [Char]
extensions
{-# NOINLINE gl_ARB_instanced_arrays #-}
glVertexAttribDivisorARB :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorARB :: GLuint -> GLuint -> m ()
glVertexAttribDivisorARB = FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
ffiuintuintIOV FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorARBFunPtr
glVertexAttribDivisorARBFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorARBFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorARBFunPtr = IO (FunPtr (GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glVertexAttribDivisorARB")
{-# NOINLINE glVertexAttribDivisorARBFunPtr #-}
pattern $bGL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB :: a
$mGL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE