-- This file was automatically generated.
{-# LANGUAGE ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Raw.Extension.NV.InternalformatSampleQuery (
  -- * Extension Support
    gl_NV_internalformat_sample_query

  -- * 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.Raw.Internal.FFI
import Graphics.GL.Raw.Internal.Proc
import Graphics.GL.Raw.Internal.Shared
import Graphics.GL.Raw.Types
import System.IO.Unsafe

gl_NV_internalformat_sample_query :: Bool
gl_NV_internalformat_sample_query = member "GL_NV_internalformat_sample_query" extensions

glGetInternalformatSampleivNV :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLint -> m ()
glGetInternalformatSampleivNV = ffienumenumsizeienumsizeiPtrintIOV glGetInternalformatSampleivNVFunPtr

glGetInternalformatSampleivNVFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> GLenum -> GLsizei -> Ptr GLint -> IO ())
glGetInternalformatSampleivNVFunPtr = unsafePerformIO (getProcAddress "glGetInternalformatSampleivNV")

{-# NOINLINE glGetInternalformatSampleivNVFunPtr #-}

pattern GL_CONFORMANT_NV = 0x9374

pattern GL_MULTISAMPLES_NV = 0x9371

pattern GL_SUPERSAMPLE_SCALE_X_NV = 0x9372

pattern GL_SUPERSAMPLE_SCALE_Y_NV = 0x9373