# src/Graphics/Rendering/OpenGL/Raw/ARB/InstancedArrays.hs

    {-# LANGUAGE ForeignFunctionInterface, CPP #-}
    --------------------------------------------------------------------------------
    -- |
    -- Module      :  Graphics.Rendering.OpenGL.Raw.ARB.InstancedArrays
    -- Copyright   :  (c) Sven Panne 2009
    -- License     :  BSD-style (see the file LICENSE)
    --
    -- Maintainer  :  sven.panne@aedion.de
    -- Stability   :  stable
    -- Portability :  portable
    --
    -- All raw functions and tokens from the ARB_instanced_arrays extension, see
    -- <http://www.opengl.org/registry/specs/ARB/instanced_arrays.txt>.
    --
    --------------------------------------------------------------------------------

    module Graphics.Rendering.OpenGL.Raw.ARB.InstancedArrays (
       -- * Functions
       glVertexAttribDivisor,
       -- * Tokens
       gl_VERTEX_ATTRIB_ARRAY_DIVISOR
    ) where

    import Graphics.Rendering.OpenGL.Raw.Core32
    import Graphics.Rendering.OpenGL.Raw.Extensions

    #include "HsOpenGLRaw.h"

    extensionNameString :: String
    extensionNameString = "GL_ARB_instanced_arrays"

    EXTENSION_ENTRY(glVertexAttribDivisor,GLuint -> GLuint -> IO ())

    gl_VERTEX_ATTRIB_ARRAY_DIVISOR :: GLenum
    gl_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE