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

  -- * GL_NV_framebuffer_mixed_samples
  , glCoverageModulationNV
  , glCoverageModulationTableNV
  , glGetCoverageModulationTableNV
  , glRasterSamplesEXT
  , pattern GL_COLOR_SAMPLES_NV
  , pattern GL_COVERAGE_MODULATION_NV
  , pattern GL_COVERAGE_MODULATION_TABLE_NV
  , pattern GL_COVERAGE_MODULATION_TABLE_SIZE_NV
  , pattern GL_DEPTH_SAMPLES_NV
  , pattern GL_EFFECTIVE_RASTER_SAMPLES_EXT
  , pattern GL_MAX_RASTER_SAMPLES_EXT
  , pattern GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV
  , pattern GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV
  , pattern GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT
  , pattern GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT
  , pattern GL_RASTER_MULTISAMPLE_EXT
  , pattern GL_RASTER_SAMPLES_EXT
  , pattern GL_STENCIL_SAMPLES_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe

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

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

-- | Usage: @'glCoverageModulationNV' components@


glCoverageModulationNV :: MonadIO m => GLenum -> m ()
glCoverageModulationNV :: GLenum -> m ()
glCoverageModulationNV = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glCoverageModulationNVFunPtr

glCoverageModulationNVFunPtr :: FunPtr (GLenum -> IO ())
glCoverageModulationNVFunPtr :: FunPtr (GLenum -> IO ())
glCoverageModulationNVFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glCoverageModulationNV")

{-# NOINLINE glCoverageModulationNVFunPtr #-}

-- | Usage: @'glCoverageModulationTableNV' n v@


glCoverageModulationTableNV :: MonadIO m => GLsizei -> Ptr GLfloat -> m ()
glCoverageModulationTableNV :: GLsizei -> Ptr GLfloat -> m ()
glCoverageModulationTableNV = FunPtr (GLsizei -> Ptr GLfloat -> IO ())
-> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLsizei -> Ptr GLfloat -> IO ())
-> GLsizei -> Ptr GLfloat -> m ()
ffisizeiPtrfloatIOV FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glCoverageModulationTableNVFunPtr

glCoverageModulationTableNVFunPtr :: FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glCoverageModulationTableNVFunPtr :: FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glCoverageModulationTableNVFunPtr = IO (FunPtr (GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glCoverageModulationTableNV")

{-# NOINLINE glCoverageModulationTableNVFunPtr #-}

-- | Usage: @'glGetCoverageModulationTableNV' bufsize v@


glGetCoverageModulationTableNV :: MonadIO m => GLsizei -> Ptr GLfloat -> m ()
glGetCoverageModulationTableNV :: GLsizei -> Ptr GLfloat -> m ()
glGetCoverageModulationTableNV = FunPtr (GLsizei -> Ptr GLfloat -> IO ())
-> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLsizei -> Ptr GLfloat -> IO ())
-> GLsizei -> Ptr GLfloat -> m ()
ffisizeiPtrfloatIOV FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glGetCoverageModulationTableNVFunPtr

glGetCoverageModulationTableNVFunPtr :: FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glGetCoverageModulationTableNVFunPtr :: FunPtr (GLsizei -> Ptr GLfloat -> IO ())
glGetCoverageModulationTableNVFunPtr = IO (FunPtr (GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetCoverageModulationTableNV")

{-# NOINLINE glGetCoverageModulationTableNVFunPtr #-}

pattern $bGL_COVERAGE_MODULATION_NV :: a
$mGL_COVERAGE_MODULATION_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COVERAGE_MODULATION_NV = 0x9332

pattern $bGL_COVERAGE_MODULATION_TABLE_NV :: a
$mGL_COVERAGE_MODULATION_TABLE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COVERAGE_MODULATION_TABLE_NV = 0x9331

pattern $bGL_COVERAGE_MODULATION_TABLE_SIZE_NV :: a
$mGL_COVERAGE_MODULATION_TABLE_SIZE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COVERAGE_MODULATION_TABLE_SIZE_NV = 0x9333

pattern $bGL_DEPTH_SAMPLES_NV :: a
$mGL_DEPTH_SAMPLES_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DEPTH_SAMPLES_NV = 0x932D

pattern $bGL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV :: a
$mGL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV = 0x932F

pattern $bGL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV :: a
$mGL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV = 0x9330

pattern $bGL_STENCIL_SAMPLES_NV :: a
$mGL_STENCIL_SAMPLES_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STENCIL_SAMPLES_NV = 0x932E