Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
foray_imagetoswapchain.hpp
Go to the documentation of this file.
1#pragma once
2#include "foray_blitstage.hpp"
3
4namespace foray::stages {
7 {
8 public:
10
11 void Init(core::Context* context, core::ManagedImage* srcImage);
12 virtual void RecordFrame(VkCommandBuffer cmdBuffer, base::FrameRenderInfo& renderInfo) override;
13 };
14} // namespace foray::stages
Context used for render processes. This object is rebuilt for every frame. /.
Definition foray_framerenderinfo.hpp:14
Wraps allocation and lifetime functionality of VkImage.
Definition foray_managedimage.hpp:13
Stage which performs an image blit (more capable copy from one image to another)
Definition foray_blitstage.hpp:8
The only purpose of this class is to copy the image onto the swapchain.
Definition foray_imagetoswapchain.hpp:7
virtual void RecordFrame(VkCommandBuffer cmdBuffer, base::FrameRenderInfo &renderInfo) override
Records pipeline barriers for source and destination images, and the blit command itself.
void Init(core::Context *context, core::ManagedImage *srcImage)
Definition foray_blitstage.hpp:4
Non owning context object.
Definition foray_context.hpp:16