![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
Thread-safe drop-box for async-loaded assets awaiting main-thread finalisation. More...
#include <async_load_queue.h>
Public Member Functions | |
| std::vector< TextureLoadCompletion > | drainTextures () |
| Move every pending completion out under one lock; main thread only. | |
Thread-safe drop-box for async-loaded assets awaiting main-thread finalisation.
One per process, so a worker task carries no pointer back to its request.
| std::vector< TextureLoadCompletion > Vkm::Engine::AsyncLoadQueue::drainTextures | ( | ) |
Move every pending completion out under one lock; main thread only.
drainMeshes is the same for meshes.