Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Process = Merge (Vector InstanceAttrs) Source #
Input | |
|
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 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 #