CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderGraph2::RenderGraphPresentTask Class Referencefinal

A special RenderGraphTask that is used to present an input image to the swapchain. More...

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

Inheritance diagram for CeresEngine::RenderGraph2::RenderGraphPresentTask:
CeresEngine::RenderGraph2::RenderGraphTask CeresEngine::GraphNode CeresEngine::RefCounted< GraphNode >

Public Member Functions

void compile (RenderGraphTaskCompiler &compiler) final
 
void execute ()
 
- Public Member Functions inherited from CeresEngine::RenderGraph2::RenderGraphTask
RenderGraphTaskCompiledInformation compile ()
 
 GraphNode (Graph &graph, const UUID &uuid)
 
- Public Member Functions inherited from CeresEngine::GraphNode
 GraphNode (Graph &graph, const UUID &uuid)
 
virtual ~GraphNode () noexcept=default
 
GraphgetGraph () const noexcept
 
const UUIDgetUUID () const noexcept
 
StringView getDisplayName () const noexcept
 
void setDisplayName (String displayName)
 
StringView getNodeTypeName () const
 
GraphSocketgetSocket (StringView name) const
 
const Vector< GraphSocket * > & getInputSockets () const noexcept
 
const Vector< GraphSocket * > & getOutputs () const noexcept
 
const Vector< GraphSocketPtr > & getSockets () const noexcept
 
GraphSocketaddSocket (String name, GraphSocketDirection direction)
 
template<typename T >
GraphSocketaddSocket (String name, const GraphSocketDirection direction)
 
GraphSocketaddInputSocket (String name)
 
template<typename T >
GraphSocketaddInputSocket (String name)
 
GraphSocketaddOutputSocket (String name)
 
template<typename T >
GraphSocketaddOutputSocket (String name)
 
void removeSocket (GraphSocket &socket)
 
void removeSocket (StringView name)
 
void forEachSocket (std::function< void(GraphSocket &)> function)
 
void onAttach (Graph &graph, const UUID &uuid)
 
void onDetach (const Graph &graph)
 
void markAsChanged ()
 
- Public Member Functions inherited from CeresEngine::RefCounted< GraphNode >
 RefCounted (Args &&... args)
 Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it.
 
void retain () noexcept
 Retains the object by increment it's reference count by one.
 
bool release () noexcept
 Relases the object by decrementing it's reference count by one.
 

Public Attributes

GraphSocketinput = addInputSocket<RenderGraphImage>("input")
 
- Public Attributes inherited from CeresEngine::GraphNode
Event< void()> onChange
 
Event< void(GraphSocket &)> onSocketAdded
 
Event< void(GraphSocket &)> onSocketRemoved
 
Event< void(GraphConnection &)> onConnect
 
Event< void(GraphConnection &)> onDisconnect
 

Additional Inherited Members

- Protected Attributes inherited from CeresEngine::RenderGraph2::RenderGraphTask
bool mEnabled = true
 
- Protected Attributes inherited from CeresEngine::GraphNode
GraphmGraph
 
UUID mUUID
 
String mDisplayName
 
Vector< GraphSocket * > mInputs
 
Vector< GraphSocket * > mOutputs
 
Vector< GraphSocketPtrmSockets
 

Detailed Description

A special RenderGraphTask that is used to present an input image to the swapchain.

Member Function Documentation

◆ compile()

void CeresEngine::RenderGraph2::RenderGraphPresentTask::compile ( RenderGraphTaskCompiler compiler)
finalvirtual

◆ execute()

void CeresEngine::RenderGraph2::RenderGraphPresentTask::execute ( )

Member Data Documentation

◆ input

GraphSocket& CeresEngine::RenderGraph2::RenderGraphPresentTask::input = addInputSocket<RenderGraphImage>("input")

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