{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.TextureBarrier (
gl_NV_texture_barrier
, glTextureBarrierNV
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import System.IO.Unsafe
gl_NV_texture_barrier :: Bool
gl_NV_texture_barrier :: Bool
gl_NV_texture_barrier = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_texture_barrier" Set [Char]
extensions
{-# NOINLINE gl_NV_texture_barrier #-}
glTextureBarrierNV :: MonadIO m => m ()
glTextureBarrierNV :: m ()
glTextureBarrierNV = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glTextureBarrierNVFunPtr
glTextureBarrierNVFunPtr :: FunPtr (IO ())
glTextureBarrierNVFunPtr :: FunPtr (IO ())
glTextureBarrierNVFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTextureBarrierNV")
{-# NOINLINE glTextureBarrierNVFunPtr #-}