-- This file was automatically generated. {-# LANGUAGE ScopedTypeVariables, PatternSynonyms #-} module Graphics.GL.Raw.Extension.OES.DrawTexture ( -- * Extension Support gl_OES_draw_texture -- * GL_OES_draw_texture , glDrawTexfOES , glDrawTexfvOES , glDrawTexiOES , glDrawTexivOES , glDrawTexsOES , glDrawTexsvOES , glDrawTexxOES , glDrawTexxvOES , pattern GL_TEXTURE_CROP_RECT_OES ) where import Control.Monad.IO.Class import Data.Set import Foreign.Ptr import Graphics.GL.Raw.Internal.FFI import Graphics.GL.Raw.Internal.Proc import Graphics.GL.Raw.Types import System.IO.Unsafe gl_OES_draw_texture :: Bool gl_OES_draw_texture = member "GL_OES_draw_texture" extensions glDrawTexfOES :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () glDrawTexfOES = ffifloatfloatfloatfloatfloatIOV glDrawTexfOESFunPtr glDrawTexfOESFunPtr :: FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()) glDrawTexfOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexfOES") {-# NOINLINE glDrawTexfOESFunPtr #-} glDrawTexfvOES :: MonadIO m => Ptr GLfloat -> m () glDrawTexfvOES = ffiPtrfloatIOV glDrawTexfvOESFunPtr glDrawTexfvOESFunPtr :: FunPtr (Ptr GLfloat -> IO ()) glDrawTexfvOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexfvOES") {-# NOINLINE glDrawTexfvOESFunPtr #-} glDrawTexiOES :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> m () glDrawTexiOES = ffiintintintintintIOV glDrawTexiOESFunPtr glDrawTexiOESFunPtr :: FunPtr (GLint -> GLint -> GLint -> GLint -> GLint -> IO ()) glDrawTexiOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexiOES") {-# NOINLINE glDrawTexiOESFunPtr #-} glDrawTexivOES :: MonadIO m => Ptr GLint -> m () glDrawTexivOES = ffiPtrintIOV glDrawTexivOESFunPtr glDrawTexivOESFunPtr :: FunPtr (Ptr GLint -> IO ()) glDrawTexivOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexivOES") {-# NOINLINE glDrawTexivOESFunPtr #-} glDrawTexsOES :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> GLshort -> m () glDrawTexsOES = ffishortshortshortshortshortIOV glDrawTexsOESFunPtr glDrawTexsOESFunPtr :: FunPtr (GLshort -> GLshort -> GLshort -> GLshort -> GLshort -> IO ()) glDrawTexsOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexsOES") {-# NOINLINE glDrawTexsOESFunPtr #-} glDrawTexsvOES :: MonadIO m => Ptr GLshort -> m () glDrawTexsvOES = ffiPtrshortIOV glDrawTexsvOESFunPtr glDrawTexsvOESFunPtr :: FunPtr (Ptr GLshort -> IO ()) glDrawTexsvOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexsvOES") {-# NOINLINE glDrawTexsvOESFunPtr #-} glDrawTexxOES :: MonadIO m => GLfixed -> GLfixed -> GLfixed -> GLfixed -> GLfixed -> m () glDrawTexxOES = ffifixedfixedfixedfixedfixedIOV glDrawTexxOESFunPtr glDrawTexxOESFunPtr :: FunPtr (GLfixed -> GLfixed -> GLfixed -> GLfixed -> GLfixed -> IO ()) glDrawTexxOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexxOES") {-# NOINLINE glDrawTexxOESFunPtr #-} glDrawTexxvOES :: MonadIO m => Ptr GLfixed -> m () glDrawTexxvOES = ffiPtrfixedIOV glDrawTexxvOESFunPtr glDrawTexxvOESFunPtr :: FunPtr (Ptr GLfixed -> IO ()) glDrawTexxvOESFunPtr = unsafePerformIO (getProcAddress "glDrawTexxvOES") {-# NOINLINE glDrawTexxvOESFunPtr #-} pattern GL_TEXTURE_CROP_RECT_OES = 0x8B9D