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