{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.BindlessMultiDrawIndirectCount (
gl_NV_bindless_multi_draw_indirect_count
, glMultiDrawArraysIndirectBindlessCountNV
, glMultiDrawElementsIndirectBindlessCountNV
) 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_bindless_multi_draw_indirect_count :: Bool
gl_NV_bindless_multi_draw_indirect_count :: Bool
gl_NV_bindless_multi_draw_indirect_count = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_bindless_multi_draw_indirect_count" Set [Char]
extensions
{-# NOINLINE gl_NV_bindless_multi_draw_indirect_count #-}
glMultiDrawArraysIndirectBindlessCountNV :: MonadIO m => GLenum -> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLint -> m ()
glMultiDrawArraysIndirectBindlessCountNV :: GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> m ()
glMultiDrawArraysIndirectBindlessCountNV = FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ())
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ())
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> m ()
ffienumPtrVsizeisizeisizeiintIOV FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectBindlessCountNVFunPtr
glMultiDrawArraysIndirectBindlessCountNVFunPtr :: FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLint -> IO ())
glMultiDrawArraysIndirectBindlessCountNVFunPtr :: FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectBindlessCountNVFunPtr = IO
(FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ()))
-> FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMultiDrawArraysIndirectBindlessCountNV")
{-# NOINLINE glMultiDrawArraysIndirectBindlessCountNVFunPtr #-}
glMultiDrawElementsIndirectBindlessCountNV :: MonadIO m => GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLint -> m ()
glMultiDrawElementsIndirectBindlessCountNV :: GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> m ()
glMultiDrawElementsIndirectBindlessCountNV = FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ())
-> GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ())
-> GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> m ()
ffienumenumPtrVsizeisizeisizeiintIOV FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ())
glMultiDrawElementsIndirectBindlessCountNVFunPtr
glMultiDrawElementsIndirectBindlessCountNVFunPtr :: FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> GLsizei -> GLint -> IO ())
glMultiDrawElementsIndirectBindlessCountNVFunPtr :: FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ())
glMultiDrawElementsIndirectBindlessCountNVFunPtr = IO
(FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ()))
-> FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMultiDrawElementsIndirectBindlessCountNV")
{-# NOINLINE glMultiDrawElementsIndirectBindlessCountNVFunPtr #-}