module Graphics.GL.Ext.EXT.Multisample (
gl_EXT_multisample
, glSampleMaskEXT
, glSamplePatternEXT
, pattern GL_1PASS_EXT
, pattern GL_2PASS_0_EXT
, pattern GL_2PASS_1_EXT
, pattern GL_4PASS_0_EXT
, pattern GL_4PASS_1_EXT
, pattern GL_4PASS_2_EXT
, pattern GL_4PASS_3_EXT
, pattern GL_MULTISAMPLE_BIT_EXT
, pattern GL_MULTISAMPLE_EXT
, pattern GL_SAMPLES_EXT
, pattern GL_SAMPLE_ALPHA_TO_MASK_EXT
, pattern GL_SAMPLE_ALPHA_TO_ONE_EXT
, pattern GL_SAMPLE_BUFFERS_EXT
, pattern GL_SAMPLE_MASK_EXT
, pattern GL_SAMPLE_MASK_INVERT_EXT
, pattern GL_SAMPLE_MASK_VALUE_EXT
, pattern GL_SAMPLE_PATTERN_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_multisample :: Bool
gl_EXT_multisample = member "GL_EXT_multisample" extensions
glSampleMaskEXT :: MonadIO m => GLclampf -> GLboolean -> m ()
glSampleMaskEXT = fficlampfbooleanIOV glSampleMaskEXTFunPtr
glSampleMaskEXTFunPtr :: FunPtr (GLclampf -> GLboolean -> IO ())
glSampleMaskEXTFunPtr = unsafePerformIO (getProcAddress "glSampleMaskEXT")
glSamplePatternEXT :: MonadIO m => GLenum -> m ()
glSamplePatternEXT = ffienumIOV glSamplePatternEXTFunPtr
glSamplePatternEXTFunPtr :: FunPtr (GLenum -> IO ())
glSamplePatternEXTFunPtr = unsafePerformIO (getProcAddress "glSamplePatternEXT")
pattern GL_1PASS_EXT = 0x80A1
pattern GL_2PASS_0_EXT = 0x80A2
pattern GL_2PASS_1_EXT = 0x80A3
pattern GL_4PASS_0_EXT = 0x80A4
pattern GL_4PASS_1_EXT = 0x80A5
pattern GL_4PASS_2_EXT = 0x80A6
pattern GL_4PASS_3_EXT = 0x80A7
pattern GL_MULTISAMPLE_BIT_EXT = 0x20000000
pattern GL_SAMPLES_EXT = 0x80A9
pattern GL_SAMPLE_ALPHA_TO_MASK_EXT = 0x809E
pattern GL_SAMPLE_BUFFERS_EXT = 0x80A8
pattern GL_SAMPLE_MASK_EXT = 0x80A0
pattern GL_SAMPLE_MASK_INVERT_EXT = 0x80AB
pattern GL_SAMPLE_MASK_VALUE_EXT = 0x80AA
pattern GL_SAMPLE_PATTERN_EXT = 0x80AC