{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.DrawRangeElements (
gl_EXT_draw_range_elements
, glDrawRangeElementsEXT
, pattern GL_MAX_ELEMENTS_INDICES_EXT
, pattern GL_MAX_ELEMENTS_VERTICES_EXT
) 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_EXT_draw_range_elements :: Bool
gl_EXT_draw_range_elements :: Bool
gl_EXT_draw_range_elements = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_draw_range_elements" Set [Char]
extensions
{-# NOINLINE gl_EXT_draw_range_elements #-}
glDrawRangeElementsEXT :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> m ()
glDrawRangeElementsEXT :: GLenum -> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> m ()
glDrawRangeElementsEXT = FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> m ()
ffienumuintuintsizeienumPtrVIOV FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ())
glDrawRangeElementsEXTFunPtr
glDrawRangeElementsEXTFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> IO ())
glDrawRangeElementsEXTFunPtr :: FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ())
glDrawRangeElementsEXTFunPtr = IO
(FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ()))
-> FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLenum -> GLenum -> GLsizei -> GLenum -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawRangeElementsEXT")
{-# NOINLINE glDrawRangeElementsEXTFunPtr #-}
pattern $bGL_MAX_ELEMENTS_INDICES_EXT :: a
$mGL_MAX_ELEMENTS_INDICES_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9
pattern $bGL_MAX_ELEMENTS_VERTICES_EXT :: a
$mGL_MAX_ELEMENTS_VERTICES_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8