Skip to main content

HasUpdate.ixx File

Concept requiring a per-frame update(UpdateContext&) method. More...

Included Headers

#include <concepts> #include <helios.engine.runtime.world.UpdateContext>

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespaceworld
namespaceconcepts

Description

Concept requiring a per-frame update(UpdateContext&) method.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <concepts>
8
9export module helios.engine.runtime.world.concepts.HasUpdate;
10
11import helios.engine.runtime.world.UpdateContext;
12
13export namespace helios::engine::runtime::world::concepts {
14
25 template<typename T>
26 concept HasUpdate = requires(T& t, helios::engine::runtime::world::UpdateContext& updateContext) {
27 {t.update(updateContext) } -> std::same_as<void>;
28 };
29
30}
31
32

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.