-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OES.TextureStorageMultisample2dArray (
  -- * Extension Support
    gl_OES_texture_storage_multisample_2d_array

  -- * GL_OES_texture_storage_multisample_2d_array
  , glTexStorage3DMultisampleOES
  , pattern GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES
  , pattern GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES
  , pattern GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES
  , pattern GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES
  , pattern GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES
) 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://www.khronos.org/registry/gles/extensions/OES/OES_texture_storage_multisample_2d_array.txt GL_OES_texture_storage_multisample_2d_array> extension is available.

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

-- | Usage: @'glTexStorage3DMultisampleOES' target samples internalformat width height depth fixedsamplelocations@
--
-- The parameter @fixedsamplelocations@ is a @Boolean@, one of: 'Graphics.GL.Internal.Shared.GL_FALSE', 'Graphics.GL.Internal.Shared.GL_TRUE'.
--
-- This command is an alias for 'Graphics.GL.Internal.Shared.glTexStorage3DMultisample'.


glTexStorage3DMultisampleOES :: MonadIO m => GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLboolean -> m ()
glTexStorage3DMultisampleOES :: GLenum
-> GLsizei
-> GLenum
-> GLsizei
-> GLsizei
-> GLsizei
-> GLboolean
-> m ()
glTexStorage3DMultisampleOES = FunPtr
  (GLenum
   -> GLsizei
   -> GLenum
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLboolean
   -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> GLsizei
-> GLsizei
-> GLsizei
-> GLboolean
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLenum
   -> GLsizei
   -> GLenum
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLboolean
   -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> GLsizei
-> GLsizei
-> GLsizei
-> GLboolean
-> m ()
ffienumsizeienumsizeisizeisizeibooleanIOV FunPtr
  (GLenum
   -> GLsizei
   -> GLenum
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLboolean
   -> IO ())
glTexStorage3DMultisampleOESFunPtr

glTexStorage3DMultisampleOESFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLboolean -> IO ())
glTexStorage3DMultisampleOESFunPtr :: FunPtr
  (GLenum
   -> GLsizei
   -> GLenum
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLboolean
   -> IO ())
glTexStorage3DMultisampleOESFunPtr = IO
  (FunPtr
     (GLenum
      -> GLsizei
      -> GLenum
      -> GLsizei
      -> GLsizei
      -> GLsizei
      -> GLboolean
      -> IO ()))
-> FunPtr
     (GLenum
      -> GLsizei
      -> GLenum
      -> GLsizei
      -> GLsizei
      -> GLsizei
      -> GLboolean
      -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLenum
         -> GLsizei
         -> GLenum
         -> GLsizei
         -> GLsizei
         -> GLsizei
         -> GLboolean
         -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexStorage3DMultisampleOES")

{-# NOINLINE glTexStorage3DMultisampleOESFunPtr #-}

pattern $bGL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: a
$mGL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910C

pattern $bGL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: a
$mGL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910B

pattern $bGL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES :: a
$mGL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES = 0x9102

pattern $bGL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES :: a
$mGL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES = 0x9105

pattern $bGL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: a
$mGL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910D