{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.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
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 #-}
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