Toast Engine
Loading...
Searching...
No Matches
toast::_detail::NodeCluster Struct Reference

#include <tick_scheduler.hpp>

Public Member Functions

 NodeCluster (std::vector< Box< Node > > &nodes)
void earlyTick ()
void tick ()
void physicsTick ()
void postPhysics ()
void lateTick ()
auto hasEarlyTick () -> bool
auto hasTick () -> bool
auto hasPhysicsTick () -> bool
auto hasPostPhysics () -> bool
auto hasLateTick () -> bool

Public Attributes

std::vector< Box< Node > > nodes

Detailed Description

This class combines multiples nodes into one single cluster

It is used for grouping SCCs into one single component for the dependency graph generation

The nodes are ticked in the order they are on the vector, but in most cases this shouldn't be an issue


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