class

BuoyancySystem

Module
Game
Header
#include "Water/BuoyancySystem.h"
Namespace
Mowo

Constructors

SignatureNameDescription
BuoyancySystem() = defaultBuoyancySystem
~BuoyancySystem() override = default~BuoyancySystem

Public functions

ReturnsNameDescription
boolDeclaresComponentAccessNo ECS writes — forces go straight into the physics world's persistent load table, declared as the Physics resource so no other physics-touching system can share this one's batch.
ComponentMaskGetReadMask
ComponentMaskGetWriteMask
uint32_tGetResourceWriteMask
voidInitialize
voidShutdown
voidUpdate

Function details

BuoyancySystem

C++
BuoyancySystem() = default

~BuoyancySystem

C++
~BuoyancySystem() override = default

DeclaresComponentAccess

C++
bool DeclaresComponentAccess() const override

No ECS writes — forces go straight into the physics world's persistent load table, declared as the Physics resource so no other physics-touching system can share this one's batch.

GetReadMask

C++
ComponentMask GetReadMask() const override

GetWriteMask

C++
ComponentMask GetWriteMask() const override

GetResourceWriteMask

C++
uint32_t GetResourceWriteMask() const override

Initialize

C++
void Initialize(World* world) override

Shutdown

C++
void Shutdown() override

Update

C++
void Update(float deltaTime) override
Generated from Water/BuoyancySystem.h via game.json · Nov 5, 2026Version 1.0.0