{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.AMD.SamplePositions (
gl_AMD_sample_positions
, glSetMultisamplefvAMD
, pattern GL_SUBSAMPLE_DISTANCE_AMD
) 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_AMD_sample_positions :: Bool
gl_AMD_sample_positions :: Bool
gl_AMD_sample_positions = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_AMD_sample_positions" Set [Char]
extensions
{-# NOINLINE gl_AMD_sample_positions #-}
glSetMultisamplefvAMD :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m ()
glSetMultisamplefvAMD :: GLenum -> GLenum -> Ptr GLfloat -> m ()
glSetMultisamplefvAMD = FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> Ptr GLfloat -> m ()
ffienumuintPtrfloatIOV FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
glSetMultisamplefvAMDFunPtr
glSetMultisamplefvAMDFunPtr :: FunPtr (GLenum -> GLuint -> Ptr GLfloat -> IO ())
glSetMultisamplefvAMDFunPtr :: FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
glSetMultisamplefvAMDFunPtr = IO (FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glSetMultisamplefvAMD")
{-# NOINLINE glSetMultisamplefvAMDFunPtr #-}