fwgl-0.1.2.1: FRP 2D/3D game engine
FWGL.Backend.IO
class GLES => BackendIO where
Methods
loadImage :: FilePath -> ((Image, Int, Int) -> IO ()) -> IO ()
loadTextFile :: FilePath -> (Either String String -> IO ()) -> IO ()
setup :: (Int -> Int -> Ctx -> IO state) -> (out -> Ctx -> state -> IO state) -> IO inp -> SF (Input inp) out -> IO ()