CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderGraph2::RenderGraphProgram Class Reference

Contains a compiled representation of the render graph. More...

#include <CeresEngine/Renderer/RenderGraph2/RenderGraph.hpp>

Public Member Functions

 RenderGraphProgram ()=default
 
 ~RenderGraphProgram () noexcept=default
 
void execute ()
 Executes the render graph program.
 

Private Attributes

SPtr< RenderGraphmRenderGraph
 The RenderGraph instance this program was baked from.
 

Detailed Description

Contains a compiled representation of the render graph.

At this point, most of the render graph structure is lost and what remains is a sequence of operations that must be executed in order to the rendered output.

Operations such as memory barriers, copies, aliasing and render pass creation are now in a flat list that can be executed serially by the CPU to schedule commands for the GPU.

Constructor & Destructor Documentation

◆ RenderGraphProgram()

CeresEngine::RenderGraph2::RenderGraphProgram::RenderGraphProgram ( )
default

◆ ~RenderGraphProgram()

CeresEngine::RenderGraph2::RenderGraphProgram::~RenderGraphProgram ( )
defaultnoexcept

Member Function Documentation

◆ execute()

void CeresEngine::RenderGraph2::RenderGraphProgram::execute ( )

Executes the render graph program.

Member Data Documentation

◆ mRenderGraph

SPtr<RenderGraph> CeresEngine::RenderGraph2::RenderGraphProgram::mRenderGraph
private

The RenderGraph instance this program was baked from.


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