{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OVR.Multiview (
gl_OVR_multiview
, glFramebufferTextureMultiviewOVR
, pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR
, pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR
, pattern GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR
, pattern GL_MAX_VIEWS_OVR
) 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_OVR_multiview :: Bool
gl_OVR_multiview :: Bool
gl_OVR_multiview = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_OVR_multiview" Set [Char]
extensions
{-# NOINLINE gl_OVR_multiview #-}
glFramebufferTextureMultiviewOVR :: MonadIO m => GLenum -> GLenum -> GLuint -> GLint -> GLint -> GLsizei -> m ()
glFramebufferTextureMultiviewOVR :: GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> m ()
glFramebufferTextureMultiviewOVR = FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ())
-> GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ())
-> GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> m ()
ffienumenumuintintintsizeiIOV FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ())
glFramebufferTextureMultiviewOVRFunPtr
glFramebufferTextureMultiviewOVRFunPtr :: FunPtr (GLenum -> GLenum -> GLuint -> GLint -> GLint -> GLsizei -> IO ())
glFramebufferTextureMultiviewOVRFunPtr :: FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ())
glFramebufferTextureMultiviewOVRFunPtr = IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ()))
-> FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLint -> GLint -> GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glFramebufferTextureMultiviewOVR")
{-# NOINLINE glFramebufferTextureMultiviewOVRFunPtr #-}
pattern $bGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR :: a
$mGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = 0x9632
pattern $bGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR :: a
$mGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = 0x9630
pattern $bGL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR :: a
$mGL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR = 0x9633
pattern $bGL_MAX_VIEWS_OVR :: a
$mGL_MAX_VIEWS_OVR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_VIEWS_OVR = 0x9631