VPP  0.8
A high-level modern C++ API for Vulkan
vpp::Postprocess Class Reference

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...
 
RenderGraphgraph () const
 Retrieves the parent render graph.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Postprocess() [1/2]

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.

◆ Postprocess() [2/2]

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.

Member Function Documentation

◆ index()

std::uint32_t vpp::Postprocess::index ( ) const

Retrieves the index of the Postprocess node.

Postprocess nodes have separate indexes from other types of nodes.


The documentation for this class was generated from the following file: