module Graphics.GL.Ext.EXT.WindowRectangles (
gl_EXT_window_rectangles
, glWindowRectanglesEXT
, pattern GL_EXCLUSIVE_EXT
, pattern GL_INCLUSIVE_EXT
, pattern GL_MAX_WINDOW_RECTANGLES_EXT
, pattern GL_NUM_WINDOW_RECTANGLES_EXT
, pattern GL_WINDOW_RECTANGLE_EXT
, pattern GL_WINDOW_RECTANGLE_MODE_EXT
) 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_EXT_window_rectangles :: Bool
gl_EXT_window_rectangles = member "GL_EXT_window_rectangles" extensions
glWindowRectanglesEXT :: MonadIO m => GLenum -> GLsizei -> Ptr GLint -> m ()
glWindowRectanglesEXT = ffienumsizeiPtrintIOV glWindowRectanglesEXTFunPtr
glWindowRectanglesEXTFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLint -> IO ())
glWindowRectanglesEXTFunPtr = unsafePerformIO (getProcAddress "glWindowRectanglesEXT")
pattern GL_EXCLUSIVE_EXT = 0x8F11
pattern GL_INCLUSIVE_EXT = 0x8F10
pattern GL_MAX_WINDOW_RECTANGLES_EXT = 0x8F14
pattern GL_NUM_WINDOW_RECTANGLES_EXT = 0x8F15
pattern GL_WINDOW_RECTANGLE_EXT = 0x8F12
pattern GL_WINDOW_RECTANGLE_MODE_EXT = 0x8F13