module Graphics.GL.Ext.NV.ConditionalRender (
gl_NV_conditional_render
, glBeginConditionalRenderNV
, glEndConditionalRenderNV
, pattern GL_QUERY_BY_REGION_NO_WAIT_NV
, pattern GL_QUERY_BY_REGION_WAIT_NV
, pattern GL_QUERY_NO_WAIT_NV
, pattern GL_QUERY_WAIT_NV
) 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_NV_conditional_render :: Bool
gl_NV_conditional_render = member "GL_NV_conditional_render" extensions
glBeginConditionalRenderNV :: MonadIO m => GLuint -> GLenum -> m ()
glBeginConditionalRenderNV = ffiuintenumIOV glBeginConditionalRenderNVFunPtr
glBeginConditionalRenderNVFunPtr :: FunPtr (GLuint -> GLenum -> IO ())
glBeginConditionalRenderNVFunPtr = unsafePerformIO (getProcAddress "glBeginConditionalRenderNV")
glEndConditionalRenderNV :: MonadIO m => m ()
glEndConditionalRenderNV = ffiIOV glEndConditionalRenderNVFunPtr
glEndConditionalRenderNVFunPtr :: FunPtr (IO ())
glEndConditionalRenderNVFunPtr = unsafePerformIO (getProcAddress "glEndConditionalRenderNV")
pattern GL_QUERY_BY_REGION_NO_WAIT_NV = 0x8E16
pattern GL_QUERY_BY_REGION_WAIT_NV = 0x8E15
pattern GL_QUERY_NO_WAIT_NV = 0x8E14
pattern GL_QUERY_WAIT_NV = 0x8E13