vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::LoadCompletion< Asset > Struct Template Reference

One finished decode, landed on the main thread into the asset it was requested for. More...

#include <async_load_queue.h>

Public Attributes

uint64_t assetUid = 0
 Resource::uid requested for; a scene load can hand its handle to a stranger.
Asset decoded
 What the worker read; left empty when the decode failed.

Detailed Description

template<typename Asset>
struct Vkm::Engine::LoadCompletion< Asset >

One finished decode, landed on the main thread into the asset it was requested for.

The slot keeps its identity and source; the decode brings the rest.

Template Parameters
AssetMeshAsset or TextureAsset.

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