{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.TextureView (
gl_EXT_texture_view
, glTextureViewEXT
, pattern GL_TEXTURE_IMMUTABLE_LEVELS
, pattern GL_TEXTURE_VIEW_MIN_LAYER_EXT
, pattern GL_TEXTURE_VIEW_MIN_LEVEL_EXT
, pattern GL_TEXTURE_VIEW_NUM_LAYERS_EXT
, pattern GL_TEXTURE_VIEW_NUM_LEVELS_EXT
) 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_EXT_texture_view :: Bool
gl_EXT_texture_view :: Bool
gl_EXT_texture_view = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_texture_view" Set [Char]
extensions
{-# NOINLINE gl_EXT_texture_view #-}
glTextureViewEXT :: MonadIO m => GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
glTextureViewEXT :: GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> m ()
glTextureViewEXT = FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ())
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ())
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> m ()
ffiuintenumuintenumuintuintuintuintIOV FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ())
glTextureViewEXTFunPtr
glTextureViewEXTFunPtr :: FunPtr (GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glTextureViewEXTFunPtr :: FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ())
glTextureViewEXTFunPtr = IO
(FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ()))
-> FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> GLuint
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTextureViewEXT")
{-# NOINLINE glTextureViewEXTFunPtr #-}
pattern $bGL_TEXTURE_VIEW_MIN_LAYER_EXT :: a
$mGL_TEXTURE_VIEW_MIN_LAYER_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_VIEW_MIN_LAYER_EXT = 0x82DD
pattern $bGL_TEXTURE_VIEW_MIN_LEVEL_EXT :: a
$mGL_TEXTURE_VIEW_MIN_LEVEL_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_VIEW_MIN_LEVEL_EXT = 0x82DB
pattern $bGL_TEXTURE_VIEW_NUM_LAYERS_EXT :: a
$mGL_TEXTURE_VIEW_NUM_LAYERS_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_VIEW_NUM_LAYERS_EXT = 0x82DE
pattern $bGL_TEXTURE_VIEW_NUM_LEVELS_EXT :: a
$mGL_TEXTURE_VIEW_NUM_LEVELS_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_VIEW_NUM_LEVELS_EXT = 0x82DC