Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #