module Graphics.GL.Ext.OES.TextureView (
gl_OES_texture_view
, glTextureViewOES
, pattern GL_TEXTURE_IMMUTABLE_LEVELS
, pattern GL_TEXTURE_VIEW_MIN_LAYER_OES
, pattern GL_TEXTURE_VIEW_MIN_LEVEL_OES
, pattern GL_TEXTURE_VIEW_NUM_LAYERS_OES
, pattern GL_TEXTURE_VIEW_NUM_LEVELS_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_OES_texture_view :: Bool
gl_OES_texture_view = member "GL_OES_texture_view" extensions
glTextureViewOES :: MonadIO m => GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
glTextureViewOES = ffiuintenumuintenumuintuintuintuintIOV glTextureViewOESFunPtr
glTextureViewOESFunPtr :: FunPtr (GLuint -> GLenum -> GLuint -> GLenum -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glTextureViewOESFunPtr = unsafePerformIO (getProcAddress "glTextureViewOES")
pattern GL_TEXTURE_VIEW_MIN_LAYER_OES = 0x82DD
pattern GL_TEXTURE_VIEW_MIN_LEVEL_OES = 0x82DB
pattern GL_TEXTURE_VIEW_NUM_LAYERS_OES = 0x82DE
pattern GL_TEXTURE_VIEW_NUM_LEVELS_OES = 0x82DC