keid-render-basic-0.1.3.0: Basic rendering programs for Keid engine.
Safe HaskellNone
LanguageHaskell2010

Engine.UI.Message

Documentation

type Process = Merge (Vector InstanceAttrs) Source #

spawn :: (HasOutput box, GetOutput box ~ Box, HasOutput input, GetOutput input ~ Input) => box -> input -> RIO env Process Source #

spawnFromR :: (MonadResource (RIO env), HasOutput box, GetOutput box ~ Box, HasOutput source) => box -> source -> (GetOutput source -> Input) -> RIO env (ReleaseKey, ReleaseKey, Process) Source #

mkAttrs :: Box -> Input -> Vector InstanceAttrs Source #

type Observer = ObserverIO Buffer Source #

type Buffer = Allocated 'Coherent InstanceAttrs Source #

newObserver :: Int -> ResourceT (StageRIO st) Observer Source #

observe :: (HasVulkan env, HasOutput source, GetOutput source ~ Vector InstanceAttrs) => source -> Observer -> RIO env () Source #