Expose Engine::flush (#4385)

This commit is contained in:
Ben Doherty
2021-07-26 12:10:19 -07:00
committed by Benjamin Doherty
parent 6586c8d70b
commit 2409dc9bc4
2 changed files with 6 additions and 0 deletions

View File

@@ -445,6 +445,8 @@ public:
*/
void flushAndWait();
void flush();
/**
* Returns the default Material.
*

View File

@@ -1026,6 +1026,10 @@ void Engine::flushAndWait() {
upcast(this)->flushAndWait();
}
void Engine::flush() {
upcast(this)->flush();
}
utils::EntityManager& Engine::getEntityManager() noexcept {
return upcast(this)->getEntityManager();
}