Skip to main content

PassEndListener Class

Interface for receiving notifications when a pass reaches its end. More...

Declaration

class helios::engine::runtime::gameloop::PassEndListener { ... }

Derived Classes

classGameLoop

Central orchestrator for the game update cycle. More...

Public Destructor Index

~PassEndListener ()=default

Virtual destructor for proper polymorphic cleanup. More...

Public Member Functions Index

voidonPassEnd (Pass &pass, GameWorld &gameWorld, UpdateContext &updateContext) noexcept=0

Called when a pass reaches its end. More...

Description

Interface for receiving notifications when a pass reaches its end.

See Also

GameLoop

See Also

Phase

See Also

Pass

See Also

CommitPoint

Definition at line 27 of file PassEndListener.ixx.

Public Destructor

~PassEndListener()

virtual helios::engine::runtime::gameloop::PassEndListener::~PassEndListener ()
virtual default

Virtual destructor for proper polymorphic cleanup.

Definition at line 35 of file PassEndListener.ixx.

Public Member Functions

onPassEnd()

virtual void helios::engine::runtime::gameloop::PassEndListener::onPassEnd (Pass & pass, GameWorld & gameWorld, UpdateContext & updateContext)
noexcept

Called when a pass reaches its end.

Parameters
pass

The pass that ended.

gameWorld

The game world for which the pass occurred.

updateContext

The current frame's update context.

info

This method is marked noexcept as it is called during the game loop hot path and should not throw exceptions.

See Also

CommitPoint

See Also

Pass::addCommitPoint()

Definition at line 50 of file PassEndListener.ixx.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.