vulkan-utils-0.5.11.0: Utils for the vulkan package
Safe HaskellNone
LanguageHaskell2010

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

Documentation

allocateFramebuffer :: MonadResource m => Device -> RenderPass -> ImageView -> Extent2D -> m (ReleaseKey, Framebuffer) Source #

Create a framebuffer covering the whole image with a single attachment.