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 = member "GL_EXT_instanced_arrays" extensions
glVertexAttribDivisorEXT :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorEXT = ffiuintuintIOV glVertexAttribDivisorEXTFunPtr
glVertexAttribDivisorEXTFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorEXTFunPtr = unsafePerformIO (getProcAddress "glVertexAttribDivisorEXT")
pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT = 0x88FE