|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
|
pure virtual |
Return an opaque token that changes when path's contents change.
Only meaningful for equality comparison against a previously returned value for the same path. Not a timestamp, not ordered, not a counter.
Zero is reserved to mean "no such asset". Implementations must return 0 for any path that is absent or unreadable, and must never return 0 for an asset that getAsset() could successfully load. A loader that cannot track changes should still return a stable nonzero value for assets it has — returning 0 marks them permanently missing and disables hot reload.
| path | Asset path to query. |
Implemented in Flint::FileSystem.