{-# LANGUAGE ForeignFunctionInterface, CPP #-} -------------------------------------------------------------------------------- -- | -- Module : Graphics.Rendering.OpenGL.Raw.NV.DepthBufferFloat -- Copyright : (c) Sven Panne 2013 -- License : BSD3 -- -- Maintainer : Sven Panne -- Stability : stable -- Portability : portable -- -- All raw functions and tokens from the NV_depth_buffer_float extension, see -- . -- -------------------------------------------------------------------------------- module Graphics.Rendering.OpenGL.Raw.NV.DepthBufferFloat ( -- * Functions glDepthRanged, glClearDepthd, glDepthBoundsd, -- * Tokens gl_DEPTH_COMPONENT32F, gl_DEPTH32F_STENCIL8, gl_FLOAT_32_UNSIGNED_INT_24_8_REV, gl_DEPTH_BUFFER_FLOAT_MODE ) where import Foreign.C.Types import Graphics.Rendering.OpenGL.Raw.Core31.Types import Graphics.Rendering.OpenGL.Raw.Core32 import Graphics.Rendering.OpenGL.Raw.Extensions #include "HsOpenGLRaw.h" extensionNameString :: String extensionNameString = "GL_NV_depth_buffer_float" EXTENSION_ENTRY(glDepthRanged,GLdouble -> GLdouble -> IO ()) EXTENSION_ENTRY(glClearDepthd,GLdouble -> IO ()) EXTENSION_ENTRY(glDepthBoundsd,GLdouble -> GLdouble -> IO ()) gl_DEPTH_BUFFER_FLOAT_MODE :: GLenum gl_DEPTH_BUFFER_FLOAT_MODE = 0x8DAF