module Graphics.GL.Ext.OES.TextureBuffer (
gl_OES_texture_buffer
, glTexBufferOES
, glTexBufferRangeOES
, pattern GL_IMAGE_BUFFER_OES
, pattern GL_INT_IMAGE_BUFFER_OES
, pattern GL_INT_SAMPLER_BUFFER_OES
, pattern GL_MAX_TEXTURE_BUFFER_SIZE_OES
, pattern GL_SAMPLER_BUFFER_OES
, pattern GL_TEXTURE_BINDING_BUFFER_OES
, pattern GL_TEXTURE_BUFFER_BINDING_OES
, pattern GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES
, pattern GL_TEXTURE_BUFFER_OES
, pattern GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES
, pattern GL_TEXTURE_BUFFER_OFFSET_OES
, pattern GL_TEXTURE_BUFFER_SIZE_OES
, pattern GL_UNSIGNED_INT_IMAGE_BUFFER_OES
, pattern GL_UNSIGNED_INT_SAMPLER_BUFFER_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_texture_buffer :: Bool
gl_OES_texture_buffer = member "GL_OES_texture_buffer" extensions
glTexBufferOES :: MonadIO m => GLenum -> GLenum -> GLuint -> m ()
glTexBufferOES = ffienumenumuintIOV glTexBufferOESFunPtr
glTexBufferOESFunPtr :: FunPtr (GLenum -> GLenum -> GLuint -> IO ())
glTexBufferOESFunPtr = unsafePerformIO (getProcAddress "glTexBufferOES")
glTexBufferRangeOES :: MonadIO m => GLenum -> GLenum -> GLuint -> GLintptr -> GLsizeiptr -> m ()
glTexBufferRangeOES = ffienumenumuintintptrsizeiptrIOV glTexBufferRangeOESFunPtr
glTexBufferRangeOESFunPtr :: FunPtr (GLenum -> GLenum -> GLuint -> GLintptr -> GLsizeiptr -> IO ())
glTexBufferRangeOESFunPtr = unsafePerformIO (getProcAddress "glTexBufferRangeOES")
pattern GL_IMAGE_BUFFER_OES = 0x9051
pattern GL_INT_IMAGE_BUFFER_OES = 0x905C
pattern GL_INT_SAMPLER_BUFFER_OES = 0x8DD0
pattern GL_MAX_TEXTURE_BUFFER_SIZE_OES = 0x8C2B
pattern GL_SAMPLER_BUFFER_OES = 0x8DC2
pattern GL_TEXTURE_BINDING_BUFFER_OES = 0x8C2C
pattern GL_TEXTURE_BUFFER_BINDING_OES = 0x8C2A
pattern GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES = 0x8C2D
pattern GL_TEXTURE_BUFFER_OES = 0x8C2A
pattern GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES = 0x919F
pattern GL_TEXTURE_BUFFER_OFFSET_OES = 0x919D
pattern GL_TEXTURE_BUFFER_SIZE_OES = 0x919E
pattern GL_UNSIGNED_INT_IMAGE_BUFFER_OES = 0x9067
pattern GL_UNSIGNED_INT_SAMPLER_BUFFER_OES = 0x8DD8