module Graphics.GL.Ext.SGIS.Multisample (
gl_SGIS_multisample
, glSampleMaskSGIS
, glSamplePatternSGIS
, pattern GL_1PASS_SGIS
, pattern GL_2PASS_0_SGIS
, pattern GL_2PASS_1_SGIS
, pattern GL_4PASS_0_SGIS
, pattern GL_4PASS_1_SGIS
, pattern GL_4PASS_2_SGIS
, pattern GL_4PASS_3_SGIS
, pattern GL_MULTISAMPLE_SGIS
, pattern GL_SAMPLES_SGIS
, pattern GL_SAMPLE_ALPHA_TO_MASK_SGIS
, pattern GL_SAMPLE_ALPHA_TO_ONE_SGIS
, pattern GL_SAMPLE_BUFFERS_SGIS
, pattern GL_SAMPLE_MASK_INVERT_SGIS
, pattern GL_SAMPLE_MASK_SGIS
, pattern GL_SAMPLE_MASK_VALUE_SGIS
, pattern GL_SAMPLE_PATTERN_SGIS
) 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_SGIS_multisample :: Bool
gl_SGIS_multisample = member "GL_SGIS_multisample" extensions
glSampleMaskSGIS :: MonadIO m => GLclampf -> GLboolean -> m ()
glSampleMaskSGIS = fficlampfbooleanIOV glSampleMaskSGISFunPtr
glSampleMaskSGISFunPtr :: FunPtr (GLclampf -> GLboolean -> IO ())
glSampleMaskSGISFunPtr = unsafePerformIO (getProcAddress "glSampleMaskSGIS")
glSamplePatternSGIS :: MonadIO m => GLenum -> m ()
glSamplePatternSGIS = ffienumIOV glSamplePatternSGISFunPtr
glSamplePatternSGISFunPtr :: FunPtr (GLenum -> IO ())
glSamplePatternSGISFunPtr = unsafePerformIO (getProcAddress "glSamplePatternSGIS")
pattern GL_1PASS_SGIS = 0x80A1
pattern GL_2PASS_0_SGIS = 0x80A2
pattern GL_2PASS_1_SGIS = 0x80A3
pattern GL_4PASS_0_SGIS = 0x80A4
pattern GL_4PASS_1_SGIS = 0x80A5
pattern GL_4PASS_2_SGIS = 0x80A6
pattern GL_4PASS_3_SGIS = 0x80A7
pattern GL_MULTISAMPLE_SGIS = 0x809D
pattern GL_SAMPLES_SGIS = 0x80A9
pattern GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E
pattern GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F
pattern GL_SAMPLE_BUFFERS_SGIS = 0x80A8
pattern GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB
pattern GL_SAMPLE_MASK_SGIS = 0x80A0
pattern GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA
pattern GL_SAMPLE_PATTERN_SGIS = 0x80AC