module Graphics.GL.Ext.APPLE.FramebufferMultisample (
gl_APPLE_framebuffer_multisample
, glRenderbufferStorageMultisampleAPPLE
, glResolveMultisampleFramebufferAPPLE
, pattern GL_DRAW_FRAMEBUFFER_APPLE
, pattern GL_DRAW_FRAMEBUFFER_BINDING_APPLE
, pattern GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE
, pattern GL_MAX_SAMPLES_APPLE
, pattern GL_READ_FRAMEBUFFER_APPLE
, pattern GL_READ_FRAMEBUFFER_BINDING_APPLE
, pattern GL_RENDERBUFFER_SAMPLES_APPLE
) 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_APPLE_framebuffer_multisample :: Bool
gl_APPLE_framebuffer_multisample = member "GL_APPLE_framebuffer_multisample" extensions
glRenderbufferStorageMultisampleAPPLE :: MonadIO m => GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> m ()
glRenderbufferStorageMultisampleAPPLE = ffienumsizeienumsizeisizeiIOV glRenderbufferStorageMultisampleAPPLEFunPtr
glRenderbufferStorageMultisampleAPPLEFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> GLsizei -> GLsizei -> IO ())
glRenderbufferStorageMultisampleAPPLEFunPtr = unsafePerformIO (getProcAddress "glRenderbufferStorageMultisampleAPPLE")
glResolveMultisampleFramebufferAPPLE :: MonadIO m => m ()
glResolveMultisampleFramebufferAPPLE = ffiIOV glResolveMultisampleFramebufferAPPLEFunPtr
glResolveMultisampleFramebufferAPPLEFunPtr :: FunPtr (IO ())
glResolveMultisampleFramebufferAPPLEFunPtr = unsafePerformIO (getProcAddress "glResolveMultisampleFramebufferAPPLE")
pattern GL_DRAW_FRAMEBUFFER_APPLE = 0x8CA9
pattern GL_DRAW_FRAMEBUFFER_BINDING_APPLE = 0x8CA6
pattern GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE = 0x8D56
pattern GL_MAX_SAMPLES_APPLE = 0x8D57
pattern GL_READ_FRAMEBUFFER_APPLE = 0x8CA8
pattern GL_READ_FRAMEBUFFER_BINDING_APPLE = 0x8CAA
pattern GL_RENDERBUFFER_SAMPLES_APPLE = 0x8CAB