module Graphics.GL.Ext.NV.CopyBuffer (
gl_NV_copy_buffer
, glCopyBufferSubDataNV
, pattern GL_COPY_READ_BUFFER_NV
, pattern GL_COPY_WRITE_BUFFER_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_copy_buffer :: Bool
gl_NV_copy_buffer = member "GL_NV_copy_buffer" extensions
glCopyBufferSubDataNV :: MonadIO m => GLenum -> GLenum -> GLintptr -> GLintptr -> GLsizeiptr -> m ()
glCopyBufferSubDataNV = ffienumenumintptrintptrsizeiptrIOV glCopyBufferSubDataNVFunPtr
glCopyBufferSubDataNVFunPtr :: FunPtr (GLenum -> GLenum -> GLintptr -> GLintptr -> GLsizeiptr -> IO ())
glCopyBufferSubDataNVFunPtr = unsafePerformIO (getProcAddress "glCopyBufferSubDataNV")
pattern GL_COPY_READ_BUFFER_NV = 0x8F36
pattern GL_COPY_WRITE_BUFFER_NV = 0x8F37