-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.ConservativeRasterDilate (
  -- * Extension Support
    gl_NV_conservative_raster_dilate

  -- * GL_NV_conservative_raster_dilate
  , glConservativeRasterParameterfNV
  , pattern GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV
  , pattern GL_CONSERVATIVE_RASTER_DILATE_NV
  , pattern GL_CONSERVATIVE_RASTER_DILATE_RANGE_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

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/NV/conservative_raster_dilate.txt GL_NV_conservative_raster_dilate> extension is available.

gl_NV_conservative_raster_dilate :: Bool
gl_NV_conservative_raster_dilate :: Bool
gl_NV_conservative_raster_dilate = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_conservative_raster_dilate" Set [Char]
extensions
{-# NOINLINE gl_NV_conservative_raster_dilate #-}

-- | Usage: @'glConservativeRasterParameterfNV' pname value@


glConservativeRasterParameterfNV :: MonadIO m => GLenum -> GLfloat -> m ()
glConservativeRasterParameterfNV :: GLenum -> GLfloat -> m ()
glConservativeRasterParameterfNV = FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLfloat -> IO ()) -> GLenum -> GLfloat -> m ()
ffienumfloatIOV FunPtr (GLenum -> GLfloat -> IO ())
glConservativeRasterParameterfNVFunPtr

glConservativeRasterParameterfNVFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glConservativeRasterParameterfNVFunPtr :: FunPtr (GLenum -> GLfloat -> IO ())
glConservativeRasterParameterfNVFunPtr = IO (FunPtr (GLenum -> GLfloat -> IO ()))
-> FunPtr (GLenum -> GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glConservativeRasterParameterfNV")

{-# NOINLINE glConservativeRasterParameterfNVFunPtr #-}

pattern $bGL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV :: a
$mGL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV = 0x937B

pattern $bGL_CONSERVATIVE_RASTER_DILATE_NV :: a
$mGL_CONSERVATIVE_RASTER_DILATE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONSERVATIVE_RASTER_DILATE_NV = 0x9379

pattern $bGL_CONSERVATIVE_RASTER_DILATE_RANGE_NV :: a
$mGL_CONSERVATIVE_RASTER_DILATE_RANGE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV = 0x937A