{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SUN.MeshArray (
gl_SUN_mesh_array
, glDrawMeshArraysSUN
, pattern GL_QUAD_MESH_SUN
, pattern GL_TRIANGLE_MESH_SUN
) 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_SUN_mesh_array :: Bool
gl_SUN_mesh_array :: Bool
gl_SUN_mesh_array = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SUN_mesh_array" Set [Char]
extensions
{-# NOINLINE gl_SUN_mesh_array #-}
glDrawMeshArraysSUN :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m ()
glDrawMeshArraysSUN :: GLenum -> GLint -> GLint -> GLint -> m ()
glDrawMeshArraysSUN = FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ())
-> GLenum -> GLint -> GLint -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ())
-> GLenum -> GLint -> GLint -> GLint -> m ()
ffienumintsizeisizeiIOV FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ())
glDrawMeshArraysSUNFunPtr
glDrawMeshArraysSUNFunPtr :: FunPtr (GLenum -> GLint -> GLsizei -> GLsizei -> IO ())
glDrawMeshArraysSUNFunPtr :: FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ())
glDrawMeshArraysSUNFunPtr = IO (FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ()))
-> FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLint -> GLint -> GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawMeshArraysSUN")
{-# NOINLINE glDrawMeshArraysSUNFunPtr #-}
pattern $bGL_QUAD_MESH_SUN :: a
$mGL_QUAD_MESH_SUN :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_QUAD_MESH_SUN = 0x8614
pattern $bGL_TRIANGLE_MESH_SUN :: a
$mGL_TRIANGLE_MESH_SUN :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TRIANGLE_MESH_SUN = 0x8615