|
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
|
Typed asset reference: use it like a T*. More...
#include <deki/assets/AssetRef.h>
Inherits Deki::AssetRefBase.
Public Member Functions | |
| T * | Get () |
| const T * | Get () const |
| T * | operator-> () |
| const T * | operator-> () const |
| T & | operator* () |
| const T & | operator* () const |
| operator T* () | |
| operator const T * () const | |
| operator bool () const | |
| AssetRef & | operator= (T *p) |
| bool | operator== (const T *other) const |
| bool | operator!= (const T *other) const |
| bool | operator== (std::nullptr_t) const |
| bool | operator!= (std::nullptr_t) const |
| Public Member Functions inherited from Deki::AssetRefBase | |
| bool | HasGuid () const |
| bool | HasSource () const |
| bool | IsLoaded () const |
Additional Inherited Members | |
| Public Attributes inherited from Deki::AssetRefBase | |
| void * | ptr = nullptr |
| std::string | guid |
| std::string | source |
| bool | loadAttempted = false |
| uint64_t | cachedEpoch = 0 |
Typed asset reference: use it like a T*.
T needs a static constexpr const char* kAssetTypeName member.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |