le2d v0.4.6
2D game engine framework
 
Loading...
Searching...
No Matches
resource.hpp
Go to the documentation of this file.
1#pragma once
3
4namespace le {
6class IResource : public IAsset {
7 public:
10 [[nodiscard]] virtual auto is_ready() const -> bool = 0;
11};
12} // namespace le
Interface for asset types.
Definition asset.hpp:8
Interface for all shared resources in the engine.
Definition resource.hpp:6
virtual auto is_ready() const -> bool=0
Check if resource is ready to use.
Definition animation.hpp:8