module Graphics.GL.Ext.AMD.InterleavedElements (
gl_AMD_interleaved_elements
, glVertexAttribParameteriAMD
, pattern GL_ALPHA
, pattern GL_BLUE
, pattern GL_GREEN
, pattern GL_RED
, pattern GL_RG16UI
, pattern GL_RG8UI
, pattern GL_RGBA8UI
, pattern GL_VERTEX_ELEMENT_SWIZZLE_AMD
, pattern GL_VERTEX_ID_SWIZZLE_AMD
) 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_AMD_interleaved_elements :: Bool
gl_AMD_interleaved_elements = member "GL_AMD_interleaved_elements" extensions
glVertexAttribParameteriAMD :: MonadIO m => GLuint -> GLenum -> GLint -> m ()
glVertexAttribParameteriAMD = ffiuintenumintIOV glVertexAttribParameteriAMDFunPtr
glVertexAttribParameteriAMDFunPtr :: FunPtr (GLuint -> GLenum -> GLint -> IO ())
glVertexAttribParameteriAMDFunPtr = unsafePerformIO (getProcAddress "glVertexAttribParameteriAMD")
pattern GL_VERTEX_ELEMENT_SWIZZLE_AMD = 0x91A4
pattern GL_VERTEX_ID_SWIZZLE_AMD = 0x91A5