module Graphics.GL.Ext.NV.InstancedArrays (
gl_NV_instanced_arrays
, glVertexAttribDivisorNV
, pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV
) 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_NV_instanced_arrays :: Bool
gl_NV_instanced_arrays = member "GL_NV_instanced_arrays" extensions
glVertexAttribDivisorNV :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorNV = ffiuintuintIOV glVertexAttribDivisorNVFunPtr
glVertexAttribDivisorNVFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorNVFunPtr = unsafePerformIO (getProcAddress "glVertexAttribDivisorNV")
pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV = 0x88FE