{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OES.Texture3D (
gl_OES_texture_3D
, glCompressedTexImage3DOES
, glCompressedTexSubImage3DOES
, glCopyTexSubImage3DOES
, glFramebufferTexture3DOES
, glTexImage3DOES
, glTexSubImage3DOES
, pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES
, pattern GL_MAX_3D_TEXTURE_SIZE_OES
, pattern GL_SAMPLER_3D_OES
, pattern GL_TEXTURE_3D_OES
, pattern GL_TEXTURE_BINDING_3D_OES
, pattern GL_TEXTURE_WRAP_R_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.Types
import System.IO.Unsafe
gl_OES_texture_3D :: Bool
gl_OES_texture_3D :: Bool
gl_OES_texture_3D = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_OES_texture_3D" Set [Char]
extensions
{-# NOINLINE gl_OES_texture_3D #-}
glCompressedTexImage3DOES :: MonadIO m => GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLsizei -> Ptr () -> m ()
glCompressedTexImage3DOES :: GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> m ()
glCompressedTexImage3DOES = FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> m ()
ffienumintenumsizeisizeisizeiintsizeiPtrVIOV FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ())
glCompressedTexImage3DOESFunPtr
glCompressedTexImage3DOESFunPtr :: FunPtr (GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLsizei -> Ptr () -> IO ())
glCompressedTexImage3DOESFunPtr :: FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ())
glCompressedTexImage3DOESFunPtr = IO
(FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ()))
-> FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> Ptr ()
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glCompressedTexImage3DOES")
{-# NOINLINE glCompressedTexImage3DOESFunPtr #-}
glCompressedTexSubImage3DOES :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m ()
glCompressedTexSubImage3DOES :: GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> m ()
glCompressedTexSubImage3DOES = FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> m ()
ffienumintintintintsizeisizeisizeienumsizeiPtrVIOV FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ())
glCompressedTexSubImage3DOESFunPtr
glCompressedTexSubImage3DOESFunPtr :: FunPtr (GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> IO ())
glCompressedTexSubImage3DOESFunPtr :: FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ())
glCompressedTexSubImage3DOESFunPtr = IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ()))
-> FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLint
-> Ptr ()
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glCompressedTexSubImage3DOES")
{-# NOINLINE glCompressedTexSubImage3DOESFunPtr #-}
glCopyTexSubImage3DOES :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m ()
glCopyTexSubImage3DOES :: GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> m ()
glCopyTexSubImage3DOES = FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> m ()
ffienumintintintintintintsizeisizeiIOV FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ())
glCopyTexSubImage3DOESFunPtr
glCopyTexSubImage3DOESFunPtr :: FunPtr (GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> IO ())
glCopyTexSubImage3DOESFunPtr :: FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ())
glCopyTexSubImage3DOESFunPtr = IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ()))
-> FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glCopyTexSubImage3DOES")
{-# NOINLINE glCopyTexSubImage3DOESFunPtr #-}
glFramebufferTexture3DOES :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLint -> m ()
glFramebufferTexture3DOES :: GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> m ()
glFramebufferTexture3DOES = FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> m ()
ffienumenumenumuintintintIOV FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ())
glFramebufferTexture3DOESFunPtr
glFramebufferTexture3DOESFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLint -> IO ())
glFramebufferTexture3DOESFunPtr :: FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ())
glFramebufferTexture3DOESFunPtr = IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ()))
-> FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLenum -> GLint -> GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glFramebufferTexture3DOES")
{-# NOINLINE glFramebufferTexture3DOESFunPtr #-}
glTexImage3DOES :: MonadIO m => GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr () -> m ()
glTexImage3DOES :: GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
glTexImage3DOES = FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
ffienumintenumsizeisizeisizeiintenumenumPtrVIOV FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
glTexImage3DOESFunPtr
glTexImage3DOESFunPtr :: FunPtr (GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr () -> IO ())
glTexImage3DOESFunPtr :: FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
glTexImage3DOESFunPtr = IO
(FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ()))
-> FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexImage3DOES")
{-# NOINLINE glTexImage3DOESFunPtr #-}
glTexSubImage3DOES :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m ()
glTexSubImage3DOES :: GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
glTexSubImage3DOES = FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
-> GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> m ()
ffienumintintintintsizeisizeisizeienumenumPtrVIOV FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
glTexSubImage3DOESFunPtr
glTexSubImage3DOESFunPtr :: FunPtr (GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> IO ())
glTexSubImage3DOESFunPtr :: FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
glTexSubImage3DOESFunPtr = IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ()))
-> FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLint
-> GLenum
-> GLenum
-> Ptr ()
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexSubImage3DOES")
{-# NOINLINE glTexSubImage3DOESFunPtr #-}
pattern $bGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES :: a
$mGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES = 0x8CD4
pattern $bGL_MAX_3D_TEXTURE_SIZE_OES :: a
$mGL_MAX_3D_TEXTURE_SIZE_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_3D_TEXTURE_SIZE_OES = 0x8073
pattern $bGL_SAMPLER_3D_OES :: a
$mGL_SAMPLER_3D_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SAMPLER_3D_OES = 0x8B5F
pattern $bGL_TEXTURE_3D_OES :: a
$mGL_TEXTURE_3D_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_3D_OES = 0x806F
pattern $bGL_TEXTURE_BINDING_3D_OES :: a
$mGL_TEXTURE_BINDING_3D_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_BINDING_3D_OES = 0x806A
pattern $bGL_TEXTURE_WRAP_R_OES :: a
$mGL_TEXTURE_WRAP_R_OES :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_WRAP_R_OES = 0x8072