{-# LANGUAGE ForeignFunctionInterface, CPP #-} -------------------------------------------------------------------------------- -- | -- Module : Graphics.Rendering.OpenGL.Raw.EXT.CompiledVertexArray -- 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 EXT_compiled_vertex_array extension, -- see -- . -- -------------------------------------------------------------------------------- module Graphics.Rendering.OpenGL.Raw.EXT.CompiledVertexArray ( -- * Functions glLockArrays, glUnlockArrays, -- * Tokens gl_ARRAY_ELEMENT_LOCK_FIRST, gl_ARRAY_ELEMENT_LOCK_COUNT ) where import Graphics.Rendering.OpenGL.Raw.Core32 import Graphics.Rendering.OpenGL.Raw.Extensions #include "HsOpenGLRaw.h" extensionNameString :: String extensionNameString = "GL_EXT_compiled_vertex_array" EXTENSION_ENTRY(glLockArrays,GLint -> GLsizei -> IO ()) EXTENSION_ENTRY(glUnlockArrays,IO ()) gl_ARRAY_ELEMENT_LOCK_FIRST :: GLenum gl_ARRAY_ELEMENT_LOCK_FIRST = 0x81A8 gl_ARRAY_ELEMENT_LOCK_COUNT :: GLenum gl_ARRAY_ELEMENT_LOCK_COUNT = 0x81A9