![]() |
VPP
0.8
A high-level modern C++ API for Vulkan
|
Represents finalization process graph node. More...
#include <vppRenderGraphNodes.hpp>
Public Member Functions | |
Postprocess () | |
Constructs postprocess node for currently defined graph. More... | |
Postprocess (RenderGraph *pGraph) | |
Constructs postprocess node for specified graph. More... | |
std::uint32_t | index () const |
Retrieves the index of the Postprocess node. More... | |
RenderGraph * | graph () const |
Retrieves the parent render graph. | |
Represents finalization process graph node.
This node performs optional finalization after rendering. It is very similar to Preprocess, with the difference that it is being executed after all render passes. Possible uses are e.g. copying some data back to CPU side, preparing the data for next render pass in chain, etc.
vpp::Postprocess::Postprocess | ( | ) |
Constructs postprocess node for currently defined graph.
Place a Postprocess node in your render graph class (derived from RenderGraph). Do not specify any arguments to the constructor. This is the recommended method of adding nodes. The constructor will automatically determine currently constructed graph instance.
vpp::Postprocess::Postprocess | ( | RenderGraph * | pGraph | ) |
Constructs postprocess node for specified graph.
Postprocess nodes can also be defined outside RenderGraph class. In such case, specify parent graph to the constructor explicitly.
std::uint32_t vpp::Postprocess::index | ( | ) | const |
Retrieves the index of the Postprocess node.
Postprocess nodes have separate indexes from other types of nodes.