{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.InternalformatSampleQuery (
gl_NV_internalformat_sample_query
, glGetInternalformatSampleivNV
, pattern GL_CONFORMANT_NV
, pattern GL_MULTISAMPLES_NV
, pattern GL_RENDERBUFFER
, pattern GL_SUPERSAMPLE_SCALE_X_NV
, pattern GL_SUPERSAMPLE_SCALE_Y_NV
, pattern GL_TEXTURE_2D_MULTISAMPLE
, pattern GL_TEXTURE_2D_MULTISAMPLE_ARRAY
) 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
gl_NV_internalformat_sample_query :: Bool
gl_NV_internalformat_sample_query :: Bool
gl_NV_internalformat_sample_query = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_internalformat_sample_query" Set [Char]
extensions
{-# NOINLINE gl_NV_internalformat_sample_query #-}
glGetInternalformatSampleivNV :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLint -> m ()
glGetInternalformatSampleivNV :: GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
glGetInternalformatSampleivNV = FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> GLsizei
-> Ptr GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> GLsizei
-> Ptr GLsizei
-> m ()
ffienumenumsizeienumsizeiPtrintIOV FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glGetInternalformatSampleivNVFunPtr
glGetInternalformatSampleivNVFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLint -> IO ())
glGetInternalformatSampleivNVFunPtr :: FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glGetInternalformatSampleivNVFunPtr = IO
(FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
-> FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetInternalformatSampleivNV")
{-# NOINLINE glGetInternalformatSampleivNVFunPtr #-}
pattern $bGL_CONFORMANT_NV :: a
$mGL_CONFORMANT_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONFORMANT_NV = 0x9374
pattern $bGL_MULTISAMPLES_NV :: a
$mGL_MULTISAMPLES_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MULTISAMPLES_NV = 0x9371
pattern $bGL_SUPERSAMPLE_SCALE_X_NV :: a
$mGL_SUPERSAMPLE_SCALE_X_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SUPERSAMPLE_SCALE_X_NV = 0x9372
pattern $bGL_SUPERSAMPLE_SCALE_Y_NV :: a
$mGL_SUPERSAMPLE_SCALE_Y_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SUPERSAMPLE_SCALE_Y_NV = 0x9373