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 = member "GL_EXT_texture_view" extensions
glTextureViewEXT :: MonadIO m => GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
glTextureViewEXT = ffiuintenumuintenumuintuintuintuintIOV glTextureViewEXTFunPtr
glTextureViewEXTFunPtr :: FunPtr (GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glTextureViewEXTFunPtr = unsafePerformIO (getProcAddress "glTextureViewEXT")
pattern GL_TEXTURE_VIEW_MIN_LAYER_EXT = 0x82DD
pattern GL_TEXTURE_VIEW_MIN_LEVEL_EXT = 0x82DB
pattern GL_TEXTURE_VIEW_NUM_LAYERS_EXT = 0x82DE
pattern GL_TEXTURE_VIEW_NUM_LEVELS_EXT = 0x82DC