-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIX.TagSampleBuffer (
  -- * Extension Support
    gl_SGIX_tag_sample_buffer

  -- * GL_SGIX_tag_sample_buffer
  , glTagSampleBufferSGIX
) where

import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import System.IO.Unsafe

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/SGIX/tag_sample_buffer.txt GL_SGIX_tag_sample_buffer> extension is available.

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

-- | Usage: @'glTagSampleBufferSGIX'@


glTagSampleBufferSGIX :: MonadIO m => m ()
glTagSampleBufferSGIX :: m ()
glTagSampleBufferSGIX = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glTagSampleBufferSGIXFunPtr

glTagSampleBufferSGIXFunPtr :: FunPtr (IO ())
glTagSampleBufferSGIXFunPtr :: FunPtr (IO ())
glTagSampleBufferSGIXFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTagSampleBufferSGIX")

{-# NOINLINE glTagSampleBufferSGIXFunPtr #-}