{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NVX.ConditionalRender (
gl_NVX_conditional_render
, glBeginConditionalRenderNVX
, glEndConditionalRenderNVX
) 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_NVX_conditional_render :: Bool
gl_NVX_conditional_render :: Bool
gl_NVX_conditional_render = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NVX_conditional_render" Set [Char]
extensions
{-# NOINLINE gl_NVX_conditional_render #-}
glBeginConditionalRenderNVX :: MonadIO m => GLuint -> m ()
glBeginConditionalRenderNVX :: GLuint -> m ()
glBeginConditionalRenderNVX = FunPtr (GLuint -> IO ()) -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO ()) -> GLuint -> m ()
ffiuintIOV FunPtr (GLuint -> IO ())
glBeginConditionalRenderNVXFunPtr
glBeginConditionalRenderNVXFunPtr :: FunPtr (GLuint -> IO ())
glBeginConditionalRenderNVXFunPtr :: FunPtr (GLuint -> IO ())
glBeginConditionalRenderNVXFunPtr = IO (FunPtr (GLuint -> IO ())) -> FunPtr (GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBeginConditionalRenderNVX")
{-# NOINLINE glBeginConditionalRenderNVXFunPtr #-}
glEndConditionalRenderNVX :: MonadIO m => m ()
glEndConditionalRenderNVX :: m ()
glEndConditionalRenderNVX = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glEndConditionalRenderNVXFunPtr
glEndConditionalRenderNVXFunPtr :: FunPtr (IO ())
glEndConditionalRenderNVXFunPtr :: FunPtr (IO ())
glEndConditionalRenderNVXFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glEndConditionalRenderNVX")
{-# NOINLINE glEndConditionalRenderNVXFunPtr #-}