{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.InstancedArrays (
gl_NV_instanced_arrays
, glVertexAttribDivisorNV
, pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_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_instanced_arrays :: Bool
gl_NV_instanced_arrays :: Bool
gl_NV_instanced_arrays = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_instanced_arrays" Set [Char]
extensions
{-# NOINLINE gl_NV_instanced_arrays #-}
glVertexAttribDivisorNV :: MonadIO m => GLuint -> GLuint -> m ()
glVertexAttribDivisorNV :: GLuint -> GLuint -> m ()
glVertexAttribDivisorNV = FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
ffiuintuintIOV FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorNVFunPtr
glVertexAttribDivisorNVFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorNVFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glVertexAttribDivisorNVFunPtr = IO (FunPtr (GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glVertexAttribDivisorNV")
{-# NOINLINE glVertexAttribDivisorNVFunPtr #-}
pattern $bGL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV :: a
$mGL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV = 0x88FE