{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.InstancedArrays (
gl_EXT_instanced_arrays
, glDrawArraysInstancedEXT
, glDrawElementsInstancedEXT
, glVertexAttribDivisorEXT
, pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_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_instanced_arrays :: Bool
gl_EXT_instanced_arrays :: Bool
gl_EXT_instanced_arrays = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_instanced_arrays" Set [Char]
extensions
{-# NOINLINE gl_EXT_instanced_arrays #-}
glVertexAttribDivisorEXT :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorEXT :: GLuint -> GLuint -> m ()
glVertexAttribDivisorEXT = FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
ffiuintuintIOV FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorEXTFunPtr
glVertexAttribDivisorEXTFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorEXTFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorEXTFunPtr = 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 "glVertexAttribDivisorEXT")
{-# NOINLINE glVertexAttribDivisorEXTFunPtr #-}
pattern $bGL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT :: a
$mGL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT = 0x88FE