XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderPipelineNode Class Reference

Base class for all nodes in the render pipeline graph. More...

#include <RenderPipelineNode.h>

Inheritance diagram for xiiRenderPipelineNode:
[legend]

Public Member Functions

virtual ~xiiRenderPipelineNode ()=default
 Virtual destructor.
 
void InitializePins ()
 Populates the internal arrays of input and output pins.
 
xiiHashedString GetPinName (const xiiRenderPipelineNodePin *pPin) const
 Returns the hashed name associated with a given pin.
 
const xiiRenderPipelineNodePinGetPinByName (xiiStringView sName) const
 Finds a pin by its string name.
 
const xiiRenderPipelineNodePinGetPinByName (xiiHashedString sName) const
 Finds a pin by its hashed name.
 
XII_ALWAYS_INLINE const xiiArrayPtr< const xiiRenderPipelineNodePin *const > GetInputPins () const
 Retrieves all input pins of this node.
 
XII_ALWAYS_INLINE const xiiArrayPtr< const xiiRenderPipelineNodePin *const > GetOutputPins () const
 Retrieves all output pins of this node.
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Additional Inherited Members

- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Detailed Description

Base class for all nodes in the render pipeline graph.

Each node owns a set of input and output pins and provides lookup and initialization logic. Nodes are reflectable via RTTI to support editor integration and serialization.

Member Function Documentation

◆ GetInputPins()

XII_ALWAYS_INLINE const xiiArrayPtr< const xiiRenderPipelineNodePin *const > xiiRenderPipelineNode::GetInputPins ( ) const
inline

Retrieves all input pins of this node.

Returns
An array pointer to the collection of input pin pointers.

◆ GetOutputPins()

XII_ALWAYS_INLINE const xiiArrayPtr< const xiiRenderPipelineNodePin *const > xiiRenderPipelineNode::GetOutputPins ( ) const
inline

Retrieves all output pins of this node.

Returns
An array pointer to the collection of output pin pointers.

◆ GetPinByName() [1/2]

const xiiRenderPipelineNodePin * xiiRenderPipelineNode::GetPinByName ( xiiHashedString sName) const

Finds a pin by its hashed name.

Parameters
sName- The hashed name of the pin to search for.
Returns
Pointer to the matching pin, or nullptr if no pin with that hash exists.

◆ GetPinByName() [2/2]

const xiiRenderPipelineNodePin * xiiRenderPipelineNode::GetPinByName ( xiiStringView sName) const

Finds a pin by its string name.

Parameters
sName- The textual name of the pin to search for.
Returns
Pointer to the matching pin, or nullptr if no pin with that name exists.

◆ GetPinName()

xiiHashedString xiiRenderPipelineNode::GetPinName ( const xiiRenderPipelineNodePin * pPin) const

Returns the hashed name associated with a given pin.

Parameters
pPin- Pointer to the pin whose name is queried.
Returns
The hashed string name for the specified pin, or an empty hash if not found.

◆ InitializePins()

void xiiRenderPipelineNode::InitializePins ( )

Populates the internal arrays of input and output pins.

This must be called after all pins have been created or registered so that GetInputPins() and GetOutputPins() return valid data.


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