{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.ExplicitMultisample (
gl_NV_explicit_multisample
, glGetMultisamplefvNV
, glSampleMaskIndexedNV
, glTexRenderbufferNV
, pattern GL_INT_SAMPLER_RENDERBUFFER_NV
, pattern GL_MAX_SAMPLE_MASK_WORDS_NV
, pattern GL_SAMPLER_RENDERBUFFER_NV
, pattern GL_SAMPLE_MASK_NV
, pattern GL_SAMPLE_MASK_VALUE_NV
, pattern GL_SAMPLE_POSITION_NV
, pattern GL_TEXTURE_BINDING_RENDERBUFFER_NV
, pattern GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV
, pattern GL_TEXTURE_RENDERBUFFER_NV
, pattern GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_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_explicit_multisample :: Bool
gl_NV_explicit_multisample :: Bool
gl_NV_explicit_multisample = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_explicit_multisample" Set [Char]
extensions
{-# NOINLINE gl_NV_explicit_multisample #-}
glGetMultisamplefvNV :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m ()
glGetMultisamplefvNV :: GLenum -> GLenum -> Ptr GLfloat -> m ()
glGetMultisamplefvNV = FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> Ptr GLfloat -> m ()
ffienumuintPtrfloatIOV FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
glGetMultisamplefvNVFunPtr
glGetMultisamplefvNVFunPtr :: FunPtr (GLenum -> GLuint -> Ptr GLfloat -> IO ())
glGetMultisamplefvNVFunPtr :: FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
glGetMultisamplefvNVFunPtr = IO (FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetMultisamplefvNV")
{-# NOINLINE glGetMultisamplefvNVFunPtr #-}
glSampleMaskIndexedNV :: MonadIO m => GLuint -> GLbitfield -> m ()
glSampleMaskIndexedNV :: GLenum -> GLenum -> m ()
glSampleMaskIndexedNV = FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
ffiuintbitfieldIOV FunPtr (GLenum -> GLenum -> IO ())
glSampleMaskIndexedNVFunPtr
glSampleMaskIndexedNVFunPtr :: FunPtr (GLuint -> GLbitfield -> IO ())
glSampleMaskIndexedNVFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glSampleMaskIndexedNVFunPtr = IO (FunPtr (GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSampleMaskIndexedNV")
{-# NOINLINE glSampleMaskIndexedNVFunPtr #-}
glTexRenderbufferNV :: MonadIO m => GLenum -> GLuint -> m ()
glTexRenderbufferNV :: GLenum -> GLenum -> m ()
glTexRenderbufferNV = FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
ffienumuintIOV FunPtr (GLenum -> GLenum -> IO ())
glTexRenderbufferNVFunPtr
glTexRenderbufferNVFunPtr :: FunPtr (GLenum -> GLuint -> IO ())
glTexRenderbufferNVFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glTexRenderbufferNVFunPtr = IO (FunPtr (GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexRenderbufferNV")
{-# NOINLINE glTexRenderbufferNVFunPtr #-}
pattern $bGL_INT_SAMPLER_RENDERBUFFER_NV :: a
$mGL_INT_SAMPLER_RENDERBUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INT_SAMPLER_RENDERBUFFER_NV = 0x8E57
pattern $bGL_MAX_SAMPLE_MASK_WORDS_NV :: a
$mGL_MAX_SAMPLE_MASK_WORDS_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_SAMPLE_MASK_WORDS_NV = 0x8E59
pattern $bGL_SAMPLER_RENDERBUFFER_NV :: a
$mGL_SAMPLER_RENDERBUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLER_RENDERBUFFER_NV = 0x8E56
pattern $bGL_SAMPLE_MASK_NV :: a
$mGL_SAMPLE_MASK_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLE_MASK_NV = 0x8E51
pattern $bGL_SAMPLE_MASK_VALUE_NV :: a
$mGL_SAMPLE_MASK_VALUE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLE_MASK_VALUE_NV = 0x8E52
pattern $bGL_SAMPLE_POSITION_NV :: a
$mGL_SAMPLE_POSITION_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLE_POSITION_NV = 0x8E50
pattern $bGL_TEXTURE_BINDING_RENDERBUFFER_NV :: a
$mGL_TEXTURE_BINDING_RENDERBUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BINDING_RENDERBUFFER_NV = 0x8E53
pattern $bGL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV :: a
$mGL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV = 0x8E54
pattern $bGL_TEXTURE_RENDERBUFFER_NV :: a
$mGL_TEXTURE_RENDERBUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_RENDERBUFFER_NV = 0x8E55
pattern $bGL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV :: a
$mGL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58