XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderPipelineNodePinFlags Struct Reference

Flags that describe the behavior and role of a node pin within the render pipeline. More...

#include <RenderPipelineNode.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  Unknown = 0U , Input = XII_BIT(0) , Output = XII_BIT(1) , PassThrough = XII_BIT(2) ,
  ResourceProvider = XII_BIT(3) , Default = Unknown
}
 
using StorageType = xiiUInt8
 

Detailed Description

Flags that describe the behavior and role of a node pin within the render pipeline.

These flags indicate whether a pin is an input, output, forwarder (pass-through), or a dynamic resource provider. They guide graph validation, UI rendering, and automatic resource connection logic.

Member Enumeration Documentation

◆ Enum

Enumerator
Unknown 

Pin role is not specified. Treated as invalid in most contexts.

Input 

Marks this pin as an input to a node. Typically receives a texture, buffer, or resource from an upstream node. Input pins are eligible for connections from Output or PassThrough pins.

Output 

Marks this pin as an output from a node. Produces a new resource to be consumed downstream (e.g., a rendered image or computed buffer).

PassThrough 

Declares that this pin forwards data unmodified. Used to route a resource through a node without consuming or writing it (e.g. forwarding a shadow map).

ResourceProvider 

Indicates that the node dynamically provides or overrides a resource at runtime. Typically used for nodes that bind external inputs such as camera buffers, reflection probes, or user-defined resources.


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