vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::AsyncLoaderSystem Class Reference

Drains the AsyncLoadQueue once per frame and finalises completed asset loads. More...

#include <async_loader_system.h>

Inheritance diagram for Vkm::Engine::AsyncLoaderSystem:
Vkm::Engine::System

Public Member Functions

void update (FrameContext &ctx) override
 Execute this system for the current frame.
Public Member Functions inherited from Vkm::Engine::System
virtual bool isReplayed () const
 Whether this system may be re-run over a tick that already happened.
virtual void init (FrameContext &ctx)
 Called once after all systems are registered, before the first update.
virtual void shutdown ()
 Called once on engine shutdown.
virtual void fixedUpdate (FrameContext &ctx)
 Execute this system at the fixed simulation rate.

Detailed Description

Drains the AsyncLoadQueue once per frame and finalises completed asset loads.

Runs at Simulation, ahead of Render, so a resource is uploaded in the frame it lands.

Member Function Documentation

◆ update()

void Vkm::Engine::AsyncLoaderSystem::update ( FrameContext & ctx)
overridevirtual

Execute this system for the current frame.

Parameters
ctxThis frame's services and the products published so far.

Reimplemented from Vkm::Engine::System.


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