module Graphics.GL.Ext.ATI.MapObjectBuffer (
gl_ATI_map_object_buffer
, glMapObjectBufferATI
, glUnmapObjectBufferATI
) 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_ATI_map_object_buffer :: Bool
gl_ATI_map_object_buffer = member "GL_ATI_map_object_buffer" extensions
glMapObjectBufferATI :: MonadIO m => GLuint -> m (Ptr ())
glMapObjectBufferATI = ffiuintIOPtrV glMapObjectBufferATIFunPtr
glMapObjectBufferATIFunPtr :: FunPtr (GLuint -> IO (Ptr ()))
glMapObjectBufferATIFunPtr = unsafePerformIO (getProcAddress "glMapObjectBufferATI")
glUnmapObjectBufferATI :: MonadIO m => GLuint -> m ()
glUnmapObjectBufferATI = ffiuintIOV glUnmapObjectBufferATIFunPtr
glUnmapObjectBufferATIFunPtr :: FunPtr (GLuint -> IO ())
glUnmapObjectBufferATIFunPtr = unsafePerformIO (getProcAddress "glUnmapObjectBufferATI")