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

Where and how often a particle graph node executes. More...

#include <ParticleGraph.h>

Inheritance diagram for xiiParticleGraphSchedule:
[legend]

Public Types

enum  Enum : StorageType {
  Once = 0U , Spawn , PerParticle , PerGroup ,
  Reduction , Sort , NeighborGrid , Render ,
  Readback , ENUM_COUNT , Default = PerParticle
}
using StorageType = xiiUInt8

Detailed Description

Where and how often a particle graph node executes.

Member Enumeration Documentation

◆ Enum

enum xiiParticleGraphSchedule::Enum : StorageType
Enumerator
Once 

Setup, reset, or one-shot GPU work.

Spawn 

Runs for emitted particles.

PerParticle 

Runs one thread per live particle.

PerGroup 

Runs one thread group per cell/tile/batch.

Reduction 

Parallel reduction or prefix operation.

Sort 

Sort-key generation or GPU sort stages.

NeighborGrid 

Spatial hash, cell range, or neighbor-pair stage.

Render 

Draw preparation or billboard/mesh expansion.

Readback 

Optional asynchronous readback stage.


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