module Graphics.GL.Ext.IMG.UserClipPlane (
gl_IMG_user_clip_plane
, glClipPlanefIMG
, glClipPlanexIMG
, pattern GL_CLIP_PLANE0_IMG
, pattern GL_CLIP_PLANE1_IMG
, pattern GL_CLIP_PLANE2_IMG
, pattern GL_CLIP_PLANE3_IMG
, pattern GL_CLIP_PLANE4_IMG
, pattern GL_CLIP_PLANE5_IMG
, pattern GL_MAX_CLIP_PLANES_IMG
) 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_IMG_user_clip_plane :: Bool
gl_IMG_user_clip_plane = member "GL_IMG_user_clip_plane" extensions
glClipPlanefIMG :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glClipPlanefIMG = ffienumPtrfloatIOV glClipPlanefIMGFunPtr
glClipPlanefIMGFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glClipPlanefIMGFunPtr = unsafePerformIO (getProcAddress "glClipPlanefIMG")
glClipPlanexIMG :: MonadIO m => GLenum -> Ptr GLfixed -> m ()
glClipPlanexIMG = ffienumPtrfixedIOV glClipPlanexIMGFunPtr
glClipPlanexIMGFunPtr :: FunPtr (GLenum -> Ptr GLfixed -> IO ())
glClipPlanexIMGFunPtr = unsafePerformIO (getProcAddress "glClipPlanexIMG")
pattern GL_CLIP_PLANE0_IMG = 0x3000
pattern GL_CLIP_PLANE1_IMG = 0x3001
pattern GL_CLIP_PLANE2_IMG = 0x3002
pattern GL_CLIP_PLANE3_IMG = 0x3003
pattern GL_CLIP_PLANE4_IMG = 0x3004
pattern GL_CLIP_PLANE5_IMG = 0x3005
pattern GL_MAX_CLIP_PLANES_IMG = 0x0D32