fwgl-0.1.2.1: FRP 2D/3D game engine

Safe HaskellNone
LanguageHaskell2010

FWGL.Backend.IO

Documentation

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 ()