module Graphics.GL.Ext.ARB.Multisample (
gl_ARB_multisample
, glSampleCoverageARB
, pattern GL_MULTISAMPLE_ARB
, pattern GL_MULTISAMPLE_BIT_ARB
, pattern GL_SAMPLES_ARB
, pattern GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
, pattern GL_SAMPLE_ALPHA_TO_ONE_ARB
, pattern GL_SAMPLE_BUFFERS_ARB
, pattern GL_SAMPLE_COVERAGE_ARB
, pattern GL_SAMPLE_COVERAGE_INVERT_ARB
, pattern GL_SAMPLE_COVERAGE_VALUE_ARB
) 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_ARB_multisample :: Bool
gl_ARB_multisample = member "GL_ARB_multisample" extensions
glSampleCoverageARB :: MonadIO m => GLfloat -> GLboolean -> m ()
glSampleCoverageARB = ffifloatbooleanIOV glSampleCoverageARBFunPtr
glSampleCoverageARBFunPtr :: FunPtr (GLfloat -> GLboolean -> IO ())
glSampleCoverageARBFunPtr = unsafePerformIO (getProcAddress "glSampleCoverageARB")
pattern GL_MULTISAMPLE_ARB = 0x809D
pattern GL_MULTISAMPLE_BIT_ARB = 0x20000000
pattern GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E
pattern GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F
pattern GL_SAMPLE_BUFFERS_ARB = 0x80A8
pattern GL_SAMPLE_COVERAGE_ARB = 0x80A0
pattern GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB
pattern GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA