{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.VertexArrayRange (
gl_NV_vertex_array_range
, glFlushVertexArrayRangeNV
, glVertexArrayRangeNV
, pattern GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV
, pattern GL_VERTEX_ARRAY_RANGE_LENGTH_NV
, pattern GL_VERTEX_ARRAY_RANGE_NV
, pattern GL_VERTEX_ARRAY_RANGE_POINTER_NV
, pattern GL_VERTEX_ARRAY_RANGE_VALID_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_vertex_array_range :: Bool
gl_NV_vertex_array_range :: Bool
gl_NV_vertex_array_range = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_vertex_array_range" Set [Char]
extensions
{-# NOINLINE gl_NV_vertex_array_range #-}
glFlushVertexArrayRangeNV :: MonadIO m => m ()
glFlushVertexArrayRangeNV :: m ()
glFlushVertexArrayRangeNV = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glFlushVertexArrayRangeNVFunPtr
glFlushVertexArrayRangeNVFunPtr :: FunPtr (IO ())
glFlushVertexArrayRangeNVFunPtr :: FunPtr (IO ())
glFlushVertexArrayRangeNVFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glFlushVertexArrayRangeNV")
{-# NOINLINE glFlushVertexArrayRangeNVFunPtr #-}
glVertexArrayRangeNV :: MonadIO m => GLsizei -> Ptr () -> m ()
glVertexArrayRangeNV :: GLsizei -> Ptr () -> m ()
glVertexArrayRangeNV = FunPtr (GLsizei -> Ptr () -> IO ()) -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLsizei -> Ptr () -> IO ()) -> GLsizei -> Ptr () -> m ()
ffisizeiPtrVIOV FunPtr (GLsizei -> Ptr () -> IO ())
glVertexArrayRangeNVFunPtr
glVertexArrayRangeNVFunPtr :: FunPtr (GLsizei -> Ptr () -> IO ())
glVertexArrayRangeNVFunPtr :: FunPtr (GLsizei -> Ptr () -> IO ())
glVertexArrayRangeNVFunPtr = IO (FunPtr (GLsizei -> Ptr () -> IO ()))
-> FunPtr (GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glVertexArrayRangeNV")
{-# NOINLINE glVertexArrayRangeNVFunPtr #-}
pattern $bGL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV :: a
$mGL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520
pattern $bGL_VERTEX_ARRAY_RANGE_LENGTH_NV :: a
$mGL_VERTEX_ARRAY_RANGE_LENGTH_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E
pattern $bGL_VERTEX_ARRAY_RANGE_NV :: a
$mGL_VERTEX_ARRAY_RANGE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ARRAY_RANGE_NV = 0x851D
pattern $bGL_VERTEX_ARRAY_RANGE_POINTER_NV :: a
$mGL_VERTEX_ARRAY_RANGE_POINTER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521
pattern $bGL_VERTEX_ARRAY_RANGE_VALID_NV :: a
$mGL_VERTEX_ARRAY_RANGE_VALID_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F