Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- allocatePools :: (HasVulkan context, MonadResource m) => context -> m (ReleaseKey, Queues CommandPool)
- withPools :: (MonadVulkan env m, MonadResource m) => (Queues CommandPool -> m a) -> m a
- oneshot_ :: (HasVulkan context, MonadUnliftIO m) => context -> Queues CommandPool -> (forall a. Queues a -> a) -> (CommandBuffer -> m ()) -> m ()
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.