| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Utils.Framebuffer
Description
Tiny helpers for the boilerplate that each rendering example needs: a framebuffer over a single image view, and a vanilla 2D color image view.
Synopsis
- allocateFramebuffer :: MonadResource m => Device -> RenderPass -> ImageView -> Extent2D -> m (ReleaseKey, Framebuffer)
Documentation
allocateFramebuffer :: MonadResource m => Device -> RenderPass -> ImageView -> Extent2D -> m (ReleaseKey, Framebuffer) Source #
Create a framebuffer covering the whole image with a single attachment.