{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.APPLE.TextureRange (
gl_APPLE_texture_range
, glGetTexParameterPointervAPPLE
, glTextureRangeAPPLE
, pattern GL_STORAGE_CACHED_APPLE
, pattern GL_STORAGE_PRIVATE_APPLE
, pattern GL_STORAGE_SHARED_APPLE
, pattern GL_TEXTURE_RANGE_LENGTH_APPLE
, pattern GL_TEXTURE_RANGE_POINTER_APPLE
, pattern GL_TEXTURE_STORAGE_HINT_APPLE
) 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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_APPLE_texture_range :: Bool
gl_APPLE_texture_range :: Bool
gl_APPLE_texture_range = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_APPLE_texture_range" Set [Char]
extensions
{-# NOINLINE gl_APPLE_texture_range #-}
glGetTexParameterPointervAPPLE :: MonadIO m => GLenum -> GLenum -> Ptr (Ptr ()) -> m ()
glGetTexParameterPointervAPPLE :: GLenum -> GLenum -> Ptr (Ptr ()) -> m ()
glGetTexParameterPointervAPPLE = FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
-> GLenum -> GLenum -> Ptr (Ptr ()) -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
-> GLenum -> GLenum -> Ptr (Ptr ()) -> m ()
ffienumenumPtrPtrVIOV FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
glGetTexParameterPointervAPPLEFunPtr
glGetTexParameterPointervAPPLEFunPtr :: FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
glGetTexParameterPointervAPPLEFunPtr :: FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
glGetTexParameterPointervAPPLEFunPtr = IO (FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ()))
-> FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> Ptr (Ptr ()) -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetTexParameterPointervAPPLE")
{-# NOINLINE glGetTexParameterPointervAPPLEFunPtr #-}
glTextureRangeAPPLE :: MonadIO m => GLenum -> GLsizei -> Ptr () -> m ()
glTextureRangeAPPLE :: GLenum -> GLsizei -> Ptr () -> m ()
glTextureRangeAPPLE = FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLsizei -> Ptr () -> m ()
ffienumsizeiPtrVIOV FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
glTextureRangeAPPLEFunPtr
glTextureRangeAPPLEFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
glTextureRangeAPPLEFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
glTextureRangeAPPLEFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTextureRangeAPPLE")
{-# NOINLINE glTextureRangeAPPLEFunPtr #-}
pattern $bGL_STORAGE_PRIVATE_APPLE :: a
$mGL_STORAGE_PRIVATE_APPLE :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STORAGE_PRIVATE_APPLE = 0x85BD
pattern $bGL_TEXTURE_RANGE_LENGTH_APPLE :: a
$mGL_TEXTURE_RANGE_LENGTH_APPLE :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7
pattern $bGL_TEXTURE_RANGE_POINTER_APPLE :: a
$mGL_TEXTURE_RANGE_POINTER_APPLE :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8
pattern $bGL_TEXTURE_STORAGE_HINT_APPLE :: a
$mGL_TEXTURE_STORAGE_HINT_APPLE :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC