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 = member "GL_ARB_instanced_arrays" extensions
glVertexAttribDivisorARB :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorARB = ffiuintuintIOV glVertexAttribDivisorARBFunPtr
glVertexAttribDivisorARBFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorARBFunPtr = unsafePerformIO (getProcAddress "glVertexAttribDivisorARB")
pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE