keid-core-0.1.9.0: Core parts of Keid engine.
Safe HaskellSafe-Inferred
LanguageGHC2021

Resource.CommandBuffer

Synopsis

Documentation

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.