![]() |
VPP
0.8
A high-level modern C++ API for Vulkan
|
Represents display attachment graph node. More...
#include <vppRenderGraphNodes.hpp>
Public Member Functions | |
Display (const Surface &hSurface) | |
Display (RenderGraph *pGraph, const Surface &hSurface) | |
RenderGraph * | graph () const |
std::uint32_t | index () const |
std::uint32_t | width () const |
std::uint32_t | height () const |
Represents display attachment graph node.
Thie is a special kind of color attachment allowing to render an image onto a Surface. This is the way to display results on the screen.
First, you must obtain a Surface. Then construct a Display object in place of Attachment object. The format is determined automatically. Finally, call addColorOutput on the Process object.