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 = member "GL_SGIX_reference_plane" extensions
glReferencePlaneSGIX :: MonadIO m => Ptr GLdouble -> m ()
glReferencePlaneSGIX = ffiPtrdoubleIOV glReferencePlaneSGIXFunPtr
glReferencePlaneSGIXFunPtr :: FunPtr (Ptr GLdouble -> IO ())
glReferencePlaneSGIXFunPtr = unsafePerformIO (getProcAddress "glReferencePlaneSGIX")
pattern GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E
pattern GL_REFERENCE_PLANE_SGIX = 0x817D