-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.IBM.StaticData (
  -- * Extension Support
    gl_IBM_static_data

  -- * GL_IBM_static_data
  , glFlushStaticDataIBM
  , pattern GL_ALL_STATIC_DATA_IBM
  , pattern GL_STATIC_VERTEX_ARRAY_IBM
) 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/IBM/static_data.txt GL_IBM_static_data> extension is available.

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

-- | Usage: @'glFlushStaticDataIBM' target@


glFlushStaticDataIBM :: MonadIO m => GLenum -> m ()
glFlushStaticDataIBM :: GLenum -> m ()
glFlushStaticDataIBM = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glFlushStaticDataIBMFunPtr

glFlushStaticDataIBMFunPtr :: FunPtr (GLenum -> IO ())
glFlushStaticDataIBMFunPtr :: FunPtr (GLenum -> IO ())
glFlushStaticDataIBMFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glFlushStaticDataIBM")

{-# NOINLINE glFlushStaticDataIBMFunPtr #-}

pattern $bGL_ALL_STATIC_DATA_IBM :: a
$mGL_ALL_STATIC_DATA_IBM :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ALL_STATIC_DATA_IBM = 103060

pattern $bGL_STATIC_VERTEX_ARRAY_IBM :: a
$mGL_STATIC_VERTEX_ARRAY_IBM :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STATIC_VERTEX_ARRAY_IBM = 103061