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

High-level graph node category for editor grouping and compile scheduling. More...

#include <ParticleGraph.h>

Inheritance diagram for xiiParticleGraphNodeCategory:
[legend]

Public Types

enum  Enum : StorageType {
  Emitter = 0U , Initialize , Simulation , Solver ,
  Constraint , Collision , Event , Render ,
  Utility , IO , Custom , ENUM_COUNT ,
  Default = Simulation
}
using StorageType = xiiUInt8

Detailed Description

High-level graph node category for editor grouping and compile scheduling.

Member Enumeration Documentation

◆ Enum

Enumerator
Emitter 

Nodes that spawn new particles, typically at the beginning of the graph.

Initialize 

Nodes that set initial state for particles, typically after emission.

Simulation 

Nodes that perform per-frame simulation updates, typically in the middle of the graph.

Solver 

Nodes that perform constraint solving or iterative updates, typically after the main simulation step.

Constraint 

Nodes that apply constraints to particle state, such as collision response or custom rules, typically after solvers.

Collision 

Nodes that perform collision detection and response, typically after solvers or as part of constraint solving.

Event 

Nodes that emit or consume events, which can be used for communication between nodes or with the game engine, typically at any point in the graph.

Render 

Nodes that prepare particle data for rendering, such as billboard generation or GPU sorting, typically at the end of the graph.

Utility 

Nodes that perform general-purpose data processing or graph logic, such as math operations, attribute manipulation, or flow control. Can be scheduled flexibly based on their function and dependencies.

IO 

Nodes that perform input/output operations, such as reading/writing buffers, loading resources, or interfacing with engine systems. Can be scheduled flexibly based on their function and dependencies.

Custom 

Custom category for user-defined nodes that don't fit into the above categories. Scheduling can be determined by user-defined rules or editor settings.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Particles/ParticleGraph.h