{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.FragmentCoverageToColor (
gl_NV_fragment_coverage_to_color
, glFragmentCoverageColorNV
, pattern GL_FRAGMENT_COVERAGE_COLOR_NV
, pattern GL_FRAGMENT_COVERAGE_TO_COLOR_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_fragment_coverage_to_color :: Bool
gl_NV_fragment_coverage_to_color :: Bool
gl_NV_fragment_coverage_to_color = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_fragment_coverage_to_color" Set [Char]
extensions
{-# NOINLINE gl_NV_fragment_coverage_to_color #-}
glFragmentCoverageColorNV :: MonadIO m => GLuint -> m ()
glFragmentCoverageColorNV :: GLuint -> m ()
glFragmentCoverageColorNV = FunPtr (GLuint -> IO ()) -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO ()) -> GLuint -> m ()
ffiuintIOV FunPtr (GLuint -> IO ())
glFragmentCoverageColorNVFunPtr
glFragmentCoverageColorNVFunPtr :: FunPtr (GLuint -> IO ())
glFragmentCoverageColorNVFunPtr :: FunPtr (GLuint -> IO ())
glFragmentCoverageColorNVFunPtr = 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 "glFragmentCoverageColorNV")
{-# NOINLINE glFragmentCoverageColorNVFunPtr #-}
pattern $bGL_FRAGMENT_COVERAGE_COLOR_NV :: a
$mGL_FRAGMENT_COVERAGE_COLOR_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAGMENT_COVERAGE_COLOR_NV = 0x92DE
pattern $bGL_FRAGMENT_COVERAGE_TO_COLOR_NV :: a
$mGL_FRAGMENT_COVERAGE_TO_COLOR_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAGMENT_COVERAGE_TO_COLOR_NV = 0x92DD