CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderGraph2::RenderGraphTask Class Referenceabstract

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

Inheritance diagram for CeresEngine::RenderGraph2::RenderGraphTask:
CeresEngine::GraphNode CeresEngine::RefCounted< GraphNode > CeresEngine::RenderGraph2::RenderGraphClearTask CeresEngine::RenderGraph2::RenderGraphComputeTask CeresEngine::RenderGraph2::RenderGraphGraphicsTask CeresEngine::RenderGraph2::RenderGraphPresentTask CeresEngine::RenderGraph2::RenderGraphAsyncComputeTask

Public Member Functions

RenderGraphTaskCompiledInformation compile ()
 
virtual void compile (RenderGraphTaskCompiler &compiler)=0
 
 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.
 

Protected Attributes

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

Additional Inherited Members

- 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
 

Member Function Documentation

◆ compile() [1/2]

RenderGraphTaskCompiledInformation CeresEngine::RenderGraph2::RenderGraphTask::compile ( )

◆ compile() [2/2]

virtual void CeresEngine::RenderGraph2::RenderGraphTask::compile ( RenderGraphTaskCompiler compiler)
pure virtual

◆ GraphNode()

CeresEngine::GraphNode::GraphNode ( Graph graph,
const UUID uuid 
)
inlineexplicit

Member Data Documentation

◆ mEnabled

bool CeresEngine::RenderGraph2::RenderGraphTask::mEnabled = true
protected

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