OpenGLRaw-1.0.0.0: src/Graphics/Rendering/OpenGL/Raw/EXT/CompiledVertexArray.hs
{-# 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
-- not already in the OpenGL 3.1 core, see
-- <http://www.opengl.org/registry/specs/EXT/compiled_vertex_array.txt>.
--
--------------------------------------------------------------------------------
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.Core31
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