-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.ES32Compatibility (
  -- * Extension Support
    gl_ARB_ES3_2_compatibility

  -- * GL_ARB_ES3_2_compatibility
  , glPrimitiveBoundingBoxARB
  , pattern GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
  , pattern GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB
  , pattern GL_PRIMITIVE_BOUNDING_BOX_ARB
) 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/ARB/ES3_2_compatibility.txt GL_ARB_ES3_2_compatibility> extension is available.

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

-- | Usage: @'glPrimitiveBoundingBoxARB' minX minY minZ minW maxX maxY maxZ maxW@
--
-- This command is an alias for 'Graphics.GL.Embedded32.glPrimitiveBoundingBox'.


glPrimitiveBoundingBoxARB :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
glPrimitiveBoundingBoxARB :: GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> m ()
glPrimitiveBoundingBoxARB = FunPtr
  (GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> IO ())
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> IO ())
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> GLfloat
-> m ()
ffifloatfloatfloatfloatfloatfloatfloatfloatIOV FunPtr
  (GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> IO ())
glPrimitiveBoundingBoxARBFunPtr

glPrimitiveBoundingBoxARBFunPtr :: FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
glPrimitiveBoundingBoxARBFunPtr :: FunPtr
  (GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> GLfloat
   -> IO ())
glPrimitiveBoundingBoxARBFunPtr = IO
  (FunPtr
     (GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> IO ()))
-> FunPtr
     (GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> GLfloat
      -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLfloat
         -> GLfloat
         -> GLfloat
         -> GLfloat
         -> GLfloat
         -> GLfloat
         -> GLfloat
         -> GLfloat
         -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glPrimitiveBoundingBoxARB")

{-# NOINLINE glPrimitiveBoundingBoxARBFunPtr #-}

pattern $bGL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB :: a
$mGL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB = 0x9382

pattern $bGL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB :: a
$mGL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB = 0x9381

pattern $bGL_PRIMITIVE_BOUNDING_BOX_ARB :: a
$mGL_PRIMITIVE_BOUNDING_BOX_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PRIMITIVE_BOUNDING_BOX_ARB = 0x92BE