{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OES.SampleShading (
gl_OES_sample_shading
, glMinSampleShadingOES
, pattern GL_MIN_SAMPLE_SHADING_VALUE_OES
, pattern GL_SAMPLE_SHADING_OES
) 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_OES_sample_shading :: Bool
gl_OES_sample_shading :: Bool
gl_OES_sample_shading = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_OES_sample_shading" Set [Char]
extensions
{-# NOINLINE gl_OES_sample_shading #-}
glMinSampleShadingOES :: MonadIO m => GLfloat -> m ()
glMinSampleShadingOES :: GLfloat -> m ()
glMinSampleShadingOES = FunPtr (GLfloat -> IO ()) -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLfloat -> IO ()) -> GLfloat -> m ()
ffifloatIOV FunPtr (GLfloat -> IO ())
glMinSampleShadingOESFunPtr
glMinSampleShadingOESFunPtr :: FunPtr (GLfloat -> IO ())
glMinSampleShadingOESFunPtr :: FunPtr (GLfloat -> IO ())
glMinSampleShadingOESFunPtr = IO (FunPtr (GLfloat -> IO ())) -> FunPtr (GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMinSampleShadingOES")
{-# NOINLINE glMinSampleShadingOESFunPtr #-}
pattern $bGL_MIN_SAMPLE_SHADING_VALUE_OES :: a
$mGL_MIN_SAMPLE_SHADING_VALUE_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIN_SAMPLE_SHADING_VALUE_OES = 0x8C37
pattern $bGL_SAMPLE_SHADING_OES :: a
$mGL_SAMPLE_SHADING_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLE_SHADING_OES = 0x8C36