40 std::unique_ptr<API::Framebuffer>
build(VkResult* returnResult =
nullptr);
bool build(API::Framebuffer &framebuffer, VkResult *returnResult=nullptr)
std::vector< const API::ImageView * > _attachments
const API::RenderPass * _renderPass
void addAttachment(const API::ImageView *attachment)
Framebuffer & operator=(const Framebuffer &)=delete
void setHeight(uint32_t height)
void setWidth(uint32_t width)
Framebuffer(const API::Device &device)
void setRenderPass(const API::RenderPass *renderPass)
const API::Device & _device
void setLayers(uint32_t layers)