module Graphics.GL.Ext.EXT.DiscardFramebuffer (
gl_EXT_discard_framebuffer
, glDiscardFramebufferEXT
, pattern GL_COLOR_EXT
, pattern GL_DEPTH_EXT
, pattern GL_STENCIL_EXT
) 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_EXT_discard_framebuffer :: Bool
gl_EXT_discard_framebuffer = member "GL_EXT_discard_framebuffer" extensions
glDiscardFramebufferEXT :: MonadIO m => GLenum -> GLsizei -> Ptr GLenum -> m ()
glDiscardFramebufferEXT = ffienumsizeiPtrenumIOV glDiscardFramebufferEXTFunPtr
glDiscardFramebufferEXTFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
glDiscardFramebufferEXTFunPtr = unsafePerformIO (getProcAddress "glDiscardFramebufferEXT")
pattern GL_COLOR_EXT = 0x1800
pattern GL_DEPTH_EXT = 0x1801
pattern GL_STENCIL_EXT = 0x1802