module Graphics.GL.Ext.ARB.SampleLocations (
gl_ARB_sample_locations
, glEvaluateDepthValuesARB
, glFramebufferSampleLocationsfvARB
, glNamedFramebufferSampleLocationsfvARB
, pattern GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB
, pattern GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB
, pattern GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB
, pattern GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB
, pattern GL_SAMPLE_LOCATION_ARB
, pattern GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB
, pattern GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB
, pattern GL_SAMPLE_LOCATION_SUBPIXEL_BITS_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.Types
import System.IO.Unsafe
gl_ARB_sample_locations :: Bool
gl_ARB_sample_locations = member "GL_ARB_sample_locations" extensions
glEvaluateDepthValuesARB :: MonadIO m => m ()
glEvaluateDepthValuesARB = ffiIOV glEvaluateDepthValuesARBFunPtr
glEvaluateDepthValuesARBFunPtr :: FunPtr (IO ())
glEvaluateDepthValuesARBFunPtr = unsafePerformIO (getProcAddress "glEvaluateDepthValuesARB")
glFramebufferSampleLocationsfvARB :: MonadIO m => GLenum -> GLuint -> GLsizei -> Ptr GLfloat -> m ()
glFramebufferSampleLocationsfvARB = ffienumuintsizeiPtrfloatIOV glFramebufferSampleLocationsfvARBFunPtr
glFramebufferSampleLocationsfvARBFunPtr :: FunPtr (GLenum -> GLuint -> GLsizei -> Ptr GLfloat -> IO ())
glFramebufferSampleLocationsfvARBFunPtr = unsafePerformIO (getProcAddress "glFramebufferSampleLocationsfvARB")
glNamedFramebufferSampleLocationsfvARB :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLfloat -> m ()
glNamedFramebufferSampleLocationsfvARB = ffiuintuintsizeiPtrfloatIOV glNamedFramebufferSampleLocationsfvARBFunPtr
glNamedFramebufferSampleLocationsfvARBFunPtr :: FunPtr (GLuint -> GLuint -> GLsizei -> Ptr GLfloat -> IO ())
glNamedFramebufferSampleLocationsfvARBFunPtr = unsafePerformIO (getProcAddress "glNamedFramebufferSampleLocationsfvARB")
pattern GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB = 0x9342
pattern GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB = 0x9343
pattern GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB = 0x9341
pattern GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB = 0x9340
pattern GL_SAMPLE_LOCATION_ARB = 0x8E50
pattern GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB = 0x933F
pattern GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB = 0x933E
pattern GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB = 0x933D