-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ThreeDFX.Tbuffer (
  -- * Extension Support
    gl_3DFX_tbuffer

  -- * GL_3DFX_tbuffer
  , glTbufferMask3DFX
) 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/3DFX/tbuffer.txt GL_3DFX_tbuffer> extension is available.

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

-- | Usage: @'glTbufferMask3DFX' mask@


glTbufferMask3DFX :: MonadIO m => GLuint -> m ()
glTbufferMask3DFX :: GLuint -> m ()
glTbufferMask3DFX = FunPtr (GLuint -> IO ()) -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO ()) -> GLuint -> m ()
ffiuintIOV FunPtr (GLuint -> IO ())
glTbufferMask3DFXFunPtr

glTbufferMask3DFXFunPtr :: FunPtr (GLuint -> IO ())
glTbufferMask3DFXFunPtr :: FunPtr (GLuint -> IO ())
glTbufferMask3DFXFunPtr = IO (FunPtr (GLuint -> IO ())) -> FunPtr (GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTbufferMask3DFX")

{-# NOINLINE glTbufferMask3DFXFunPtr #-}