![]() |
XII Release 0.1.0
|
Base class for all nodes in the render pipeline graph. More...
#include <RenderPipelineNode.h>
Public Member Functions | |
| 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 xiiRenderPipelineNodePin * | GetPinByName (xiiStringView sName) const |
| Finds a pin by its string name. | |
| const xiiRenderPipelineNodePin * | GetPinByName (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 xiiRTTI * | GetDynamicRTTI () 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 xiiRTTI * | GetStaticRTTI () |
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.
|
inline |
Retrieves all input pins of this node.
|
inline |
Retrieves all output pins of this node.
| const xiiRenderPipelineNodePin * xiiRenderPipelineNode::GetPinByName | ( | xiiHashedString | sName | ) | const |
Finds a pin by its hashed name.
| sName | - The hashed name of the pin to search for. |
| const xiiRenderPipelineNodePin * xiiRenderPipelineNode::GetPinByName | ( | xiiStringView | sName | ) | const |
Finds a pin by its string name.
| sName | - The textual name of the pin to search for. |
| xiiHashedString xiiRenderPipelineNode::GetPinName | ( | const xiiRenderPipelineNodePin * | pPin | ) | const |
Returns the hashed name associated with a given pin.
| pPin | - Pointer to the pin whose name is queried. |
| 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.