OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainer[email protected]
Safe HaskellSafe-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 ()Source

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

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

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

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

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

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

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

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

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

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

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