keid-core-0.1.4.0: Core parts of Keid engine.
Safe HaskellNone
LanguageHaskell2010

Resource.CommandBuffer

Synopsis

Documentation

allocatePools :: (HasVulkan context, MonadResource m) => context -> m (ReleaseKey, Queues CommandPool) Source #

withPools :: (MonadVulkan env m, MonadResource m) => (Queues CommandPool -> m a) -> m a Source #

oneshot_ :: (HasVulkan context, MonadUnliftIO m) => context -> Queues CommandPool -> (forall a. Queues a -> a) -> (CommandBuffer -> m ()) -> m () Source #

Scratch command buffer for transfer operations. The simple fence makes it unusable for rendering.