OpenGLRaw-1.2.0.0: src/Graphics/Rendering/OpenGL/Raw/NV/RegisterCombiners2.hs
{-# LANGUAGE ForeignFunctionInterface, CPP #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.NV.RegisterCombiners2
-- 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 NV_register_combiners2 extension not
-- already in the OpenGL 3.1 core, see
-- <http://www.opengl.org/registry/specs/NV/register_combiners2.txt>.
--
--------------------------------------------------------------------------------
module Graphics.Rendering.OpenGL.Raw.NV.RegisterCombiners2 (
-- * Functions
glCombinerStageParameterfv,
glGetCombinerStageParameterfv,
-- * Tokens
gl_PER_STAGE_CONSTANTS,
gl_CONSTANT_COLOR0,
gl_CONSTANT_COLOR1,
gl_COMBINER0,
gl_COMBINER1,
gl_COMBINER2,
gl_COMBINER3,
gl_COMBINER4,
gl_COMBINER5,
gl_COMBINER6,
gl_COMBINER7
) where
import Foreign.Ptr
import Foreign.C.Types
import Graphics.Rendering.OpenGL.Raw.Core31.TypesInternal
import Graphics.Rendering.OpenGL.Raw.Extensions
import Graphics.Rendering.OpenGL.Raw.NV.RegisterCombiners
#include "HsOpenGLRaw.h"
extensionNameString :: String
extensionNameString = "GL_NV_register_combiners2"
EXTENSION_ENTRY(glCombinerStageParameterfv,GLenum -> GLenum -> Ptr GLfloat -> IO ())
EXTENSION_ENTRY(glGetCombinerStageParameterfv,GLenum -> GLenum -> Ptr GLfloat -> IO ())
gl_PER_STAGE_CONSTANTS :: GLenum
gl_PER_STAGE_CONSTANTS = 0x8535