module Graphics.GL.Ext.OES.BlendFuncSeparate (
gl_OES_blend_func_separate
, glBlendFuncSeparateOES
, pattern GL_BLEND_DST_ALPHA_OES
, pattern GL_BLEND_DST_RGB_OES
, pattern GL_BLEND_SRC_ALPHA_OES
, pattern GL_BLEND_SRC_RGB_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_blend_func_separate :: Bool
gl_OES_blend_func_separate = member "GL_OES_blend_func_separate" extensions
glBlendFuncSeparateOES :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
glBlendFuncSeparateOES = ffienumenumenumenumIOV glBlendFuncSeparateOESFunPtr
glBlendFuncSeparateOESFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glBlendFuncSeparateOESFunPtr = unsafePerformIO (getProcAddress "glBlendFuncSeparateOES")
pattern GL_BLEND_DST_ALPHA_OES = 0x80CA
pattern GL_BLEND_DST_RGB_OES = 0x80C8
pattern GL_BLEND_SRC_ALPHA_OES = 0x80CB
pattern GL_BLEND_SRC_RGB_OES = 0x80C9