module Graphics.GL.Ext.NV.PrimitiveRestart (
gl_NV_primitive_restart
, glPrimitiveRestartIndexNV
, glPrimitiveRestartNV
, pattern GL_PRIMITIVE_RESTART_INDEX_NV
, pattern GL_PRIMITIVE_RESTART_NV
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_NV_primitive_restart :: Bool
gl_NV_primitive_restart = member "GL_NV_primitive_restart" extensions
glPrimitiveRestartIndexNV :: MonadIO m => GLuint -> m ()
glPrimitiveRestartIndexNV = ffiuintIOV glPrimitiveRestartIndexNVFunPtr
glPrimitiveRestartIndexNVFunPtr :: FunPtr (GLuint -> IO ())
glPrimitiveRestartIndexNVFunPtr = unsafePerformIO (getProcAddress "glPrimitiveRestartIndexNV")
glPrimitiveRestartNV :: MonadIO m => m ()
glPrimitiveRestartNV = ffiIOV glPrimitiveRestartNVFunPtr
glPrimitiveRestartNVFunPtr :: FunPtr (IO ())
glPrimitiveRestartNVFunPtr = unsafePerformIO (getProcAddress "glPrimitiveRestartNV")
pattern GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559
pattern GL_PRIMITIVE_RESTART_NV = 0x8558