{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.TextureBufferObject (
gl_ARB_texture_buffer_object
, glTexBufferARB
, pattern GL_MAX_TEXTURE_BUFFER_SIZE_ARB
, pattern GL_TEXTURE_BINDING_BUFFER_ARB
, pattern GL_TEXTURE_BUFFER_ARB
, pattern GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB
, pattern GL_TEXTURE_BUFFER_FORMAT_ARB
) 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_ARB_texture_buffer_object :: Bool
gl_ARB_texture_buffer_object :: Bool
gl_ARB_texture_buffer_object = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_texture_buffer_object" Set [Char]
extensions
{-# NOINLINE gl_ARB_texture_buffer_object #-}
glTexBufferARB :: MonadIO m => GLenum -> GLenum -> GLuint -> m ()
glTexBufferARB :: GLenum -> GLenum -> GLenum -> m ()
glTexBufferARB = FunPtr (GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> m ()
ffienumenumuintIOV FunPtr (GLenum -> GLenum -> GLenum -> IO ())
glTexBufferARBFunPtr
glTexBufferARBFunPtr :: FunPtr (GLenum -> GLenum -> GLuint -> IO ())
glTexBufferARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> IO ())
glTexBufferARBFunPtr = IO (FunPtr (GLenum -> GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexBufferARB")
{-# NOINLINE glTexBufferARBFunPtr #-}
pattern $bGL_MAX_TEXTURE_BUFFER_SIZE_ARB :: a
$mGL_MAX_TEXTURE_BUFFER_SIZE_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B
pattern $bGL_TEXTURE_BINDING_BUFFER_ARB :: a
$mGL_TEXTURE_BINDING_BUFFER_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BINDING_BUFFER_ARB = 0x8C2C
pattern $bGL_TEXTURE_BUFFER_ARB :: a
$mGL_TEXTURE_BUFFER_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BUFFER_ARB = 0x8C2A
pattern $bGL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB :: a
$mGL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = 0x8C2D
pattern $bGL_TEXTURE_BUFFER_FORMAT_ARB :: a
$mGL_TEXTURE_BUFFER_FORMAT_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E