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

  -- * GL_SGIX_framezoom
  , glFrameZoomSGIX
  , pattern GL_FRAMEZOOM_FACTOR_SGIX
  , pattern GL_FRAMEZOOM_SGIX
  , pattern GL_MAX_FRAMEZOOM_FACTOR_SGIX
) 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/SGIX/framezoom.txt GL_SGIX_framezoom> extension is available.

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

-- | Usage: @'glFrameZoomSGIX' factor@
--
-- The parameter @factor@ is a @CheckedInt32@.


glFrameZoomSGIX :: MonadIO m => GLint -> m ()
glFrameZoomSGIX :: GLint -> m ()
glFrameZoomSGIX = FunPtr (GLint -> IO ()) -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLint -> IO ()) -> GLint -> m ()
ffiintIOV FunPtr (GLint -> IO ())
glFrameZoomSGIXFunPtr

glFrameZoomSGIXFunPtr :: FunPtr (GLint -> IO ())
glFrameZoomSGIXFunPtr :: FunPtr (GLint -> IO ())
glFrameZoomSGIXFunPtr = IO (FunPtr (GLint -> IO ())) -> FunPtr (GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glFrameZoomSGIX")

{-# NOINLINE glFrameZoomSGIXFunPtr #-}

pattern $bGL_FRAMEZOOM_FACTOR_SGIX :: a
$mGL_FRAMEZOOM_FACTOR_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEZOOM_FACTOR_SGIX = 0x818C

pattern $bGL_FRAMEZOOM_SGIX :: a
$mGL_FRAMEZOOM_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEZOOM_SGIX = 0x818B

pattern $bGL_MAX_FRAMEZOOM_FACTOR_SGIX :: a
$mGL_MAX_FRAMEZOOM_FACTOR_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D