module Graphics.GL.Ext.NV.PixelDataRange (
gl_NV_pixel_data_range
, glFlushPixelDataRangeNV
, glPixelDataRangeNV
, pattern GL_READ_PIXEL_DATA_RANGE_LENGTH_NV
, pattern GL_READ_PIXEL_DATA_RANGE_NV
, pattern GL_READ_PIXEL_DATA_RANGE_POINTER_NV
, pattern GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV
, pattern GL_WRITE_PIXEL_DATA_RANGE_NV
, pattern GL_WRITE_PIXEL_DATA_RANGE_POINTER_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_pixel_data_range :: Bool
gl_NV_pixel_data_range = member "GL_NV_pixel_data_range" extensions
glFlushPixelDataRangeNV :: MonadIO m => GLenum -> m ()
glFlushPixelDataRangeNV = ffienumIOV glFlushPixelDataRangeNVFunPtr
glFlushPixelDataRangeNVFunPtr :: FunPtr (GLenum -> IO ())
glFlushPixelDataRangeNVFunPtr = unsafePerformIO (getProcAddress "glFlushPixelDataRangeNV")
glPixelDataRangeNV :: MonadIO m => GLenum -> GLsizei -> Ptr () -> m ()
glPixelDataRangeNV = ffienumsizeiPtrVIOV glPixelDataRangeNVFunPtr
glPixelDataRangeNVFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
glPixelDataRangeNVFunPtr = unsafePerformIO (getProcAddress "glPixelDataRangeNV")
pattern GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B
pattern GL_READ_PIXEL_DATA_RANGE_NV = 0x8879
pattern GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D
pattern GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A
pattern GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878
pattern GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C