module Graphics.GL.Ext.ARB.TransposeMatrix (
gl_ARB_transpose_matrix
, glLoadTransposeMatrixdARB
, glLoadTransposeMatrixfARB
, glMultTransposeMatrixdARB
, glMultTransposeMatrixfARB
, pattern GL_TRANSPOSE_COLOR_MATRIX_ARB
, pattern GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
, pattern GL_TRANSPOSE_PROJECTION_MATRIX_ARB
, pattern GL_TRANSPOSE_TEXTURE_MATRIX_ARB
) 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_ARB_transpose_matrix :: Bool
gl_ARB_transpose_matrix = member "GL_ARB_transpose_matrix" extensions
glLoadTransposeMatrixdARB :: MonadIO m => Ptr GLdouble -> m ()
glLoadTransposeMatrixdARB = ffiPtrdoubleIOV glLoadTransposeMatrixdARBFunPtr
glLoadTransposeMatrixdARBFunPtr :: FunPtr (Ptr GLdouble -> IO ())
glLoadTransposeMatrixdARBFunPtr = unsafePerformIO (getProcAddress "glLoadTransposeMatrixdARB")
glLoadTransposeMatrixfARB :: MonadIO m => Ptr GLfloat -> m ()
glLoadTransposeMatrixfARB = ffiPtrfloatIOV glLoadTransposeMatrixfARBFunPtr
glLoadTransposeMatrixfARBFunPtr :: FunPtr (Ptr GLfloat -> IO ())
glLoadTransposeMatrixfARBFunPtr = unsafePerformIO (getProcAddress "glLoadTransposeMatrixfARB")
glMultTransposeMatrixdARB :: MonadIO m => Ptr GLdouble -> m ()
glMultTransposeMatrixdARB = ffiPtrdoubleIOV glMultTransposeMatrixdARBFunPtr
glMultTransposeMatrixdARBFunPtr :: FunPtr (Ptr GLdouble -> IO ())
glMultTransposeMatrixdARBFunPtr = unsafePerformIO (getProcAddress "glMultTransposeMatrixdARB")
glMultTransposeMatrixfARB :: MonadIO m => Ptr GLfloat -> m ()
glMultTransposeMatrixfARB = ffiPtrfloatIOV glMultTransposeMatrixfARBFunPtr
glMultTransposeMatrixfARBFunPtr :: FunPtr (Ptr GLfloat -> IO ())
glMultTransposeMatrixfARBFunPtr = unsafePerformIO (getProcAddress "glMultTransposeMatrixfARB")
pattern GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6
pattern GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3
pattern GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4
pattern GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5