{-# LANGUAGE ForeignFunctionInterface, CPP #-} -------------------------------------------------------------------------------- -- | -- Module : Graphics.Rendering.OpenGL.Raw.APPLE.VertexArrayObject -- Copyright : (c) Sven Panne 2014 -- License : BSD3 -- -- Maintainer : Sven Panne -- Stability : stable -- Portability : portable -- -- All raw functions and tokens from the APPLE_vertex_array_object extension, -- see . -- -------------------------------------------------------------------------------- module Graphics.Rendering.OpenGL.Raw.APPLE.VertexArrayObject ( -- * Functions glBindVertexArrayAPPLE, glDeleteVertexArrays, glGenVertexArrays, glIsVertexArray, -- * Tokens gl_VERTEX_ARRAY_BINDING ) where import Foreign.C.Types import Graphics.Rendering.OpenGL.Raw.ARB.VertexArrayObject import Graphics.Rendering.OpenGL.Raw.Core31.Types import Graphics.Rendering.OpenGL.Raw.Extensions -------------------------------------------------------------------------------- #include "HsOpenGLRaw.h" extensionNameString :: String extensionNameString = "GL_APPLE_vertex_array_object" EXTENSION_ENTRY(dyn_glBindVertexArrayAPPLE,ptr_glBindVertexArrayAPPLE,"glBindVertexArrayAPPLE",glBindVertexArrayAPPLE,GLuint -> IO ())