OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Safe Haskell | Safe-Inferred

Graphics.Rendering.OpenGL.GL.PeekPoke

Description

This is a purely internal module with peek- and poke-related utilities.

# Documentation

poke1 :: Storable a => Ptr a -> a -> IO ()

poke2 :: Storable a => Ptr a -> a -> a -> IO ()

poke3 :: Storable a => Ptr a -> a -> a -> a -> IO ()

poke4 :: Storable a => Ptr a -> a -> a -> a -> a -> IO ()

peek1 :: Storable a => (a -> b) -> Ptr a -> IO b

peek2 :: Storable a => (a -> a -> b) -> Ptr a -> IO b

peek3 :: Storable a => (a -> a -> a -> b) -> Ptr a -> IO b

peek4 :: Storable a => (a -> a -> a -> a -> b) -> Ptr a -> IO b

peek1M :: Storable a => (a -> IO b) -> Ptr a -> IO b

peek2M :: Storable a => (a -> a -> IO b) -> Ptr a -> IO b

peek3M :: Storable a => (a -> a -> a -> IO b) -> Ptr a -> IO b

peek4M :: Storable a => (a -> a -> a -> a -> IO b) -> Ptr a -> IO b