{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIX.ReferencePlane (
gl_SGIX_reference_plane
, glReferencePlaneSGIX
, pattern GL_REFERENCE_PLANE_EQUATION_SGIX
, pattern GL_REFERENCE_PLANE_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_reference_plane :: Bool
gl_SGIX_reference_plane :: Bool
gl_SGIX_reference_plane = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIX_reference_plane" Set [Char]
extensions
{-# NOINLINE gl_SGIX_reference_plane #-}
glReferencePlaneSGIX :: MonadIO m => Ptr GLdouble -> m ()
glReferencePlaneSGIX :: Ptr GLdouble -> m ()
glReferencePlaneSGIX = FunPtr (Ptr GLdouble -> IO ()) -> Ptr GLdouble -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (Ptr GLdouble -> IO ()) -> Ptr GLdouble -> m ()
ffiPtrdoubleIOV FunPtr (Ptr GLdouble -> IO ())
glReferencePlaneSGIXFunPtr
glReferencePlaneSGIXFunPtr :: FunPtr (Ptr GLdouble -> IO ())
glReferencePlaneSGIXFunPtr :: FunPtr (Ptr GLdouble -> IO ())
glReferencePlaneSGIXFunPtr = IO (FunPtr (Ptr GLdouble -> IO ()))
-> FunPtr (Ptr GLdouble -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (Ptr GLdouble -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glReferencePlaneSGIX")
{-# NOINLINE glReferencePlaneSGIXFunPtr #-}
pattern $bGL_REFERENCE_PLANE_EQUATION_SGIX :: a
$mGL_REFERENCE_PLANE_EQUATION_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E
pattern $bGL_REFERENCE_PLANE_SGIX :: a
$mGL_REFERENCE_PLANE_SGIX :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_REFERENCE_PLANE_SGIX = 0x817D