|
const ezString & | GetRmlFile () const |
|
const ezEnum< ezRmlUiScaleMode > & | GetScaleMode () const |
|
const ezVec2U32 & | GetReferenceResolution () const |
|
EZ_ALWAYS_INLINE ezStringView | GetResourceID () const |
| Returns the unique ID that identifies this resource. On a file resource this might be a path. Can also be a GUID or any other scheme that uniquely identifies the resource.
|
|
EZ_ALWAYS_INLINE ezUInt64 | GetResourceIDHash () const |
| Returns the hash of the unique ID.
|
|
void | SetResourceDescription (ezStringView sDescription) |
| The resource description allows to store an additional string that might be more descriptive during debugging, than the unique ID.
|
|
const ezString & | GetResourceDescription () const |
| The resource description allows to store an additional string that might be more descriptive during debugging, than the unique ID.
|
|
const ezString & | GetResourceIdOrDescription () const |
| The returns the resource description, if available, otherwise the resource ID. More...
|
|
EZ_ALWAYS_INLINE ezResourceState | GetLoadingState () const |
| Returns the current state in which this resource is in.
|
|
EZ_ALWAYS_INLINE ezUInt8 | GetNumQualityLevelsDiscardable () const |
| Returns the current maximum quality level that the resource could have. More...
|
|
EZ_ALWAYS_INLINE ezUInt8 | GetNumQualityLevelsLoadable () const |
| Returns how many quality levels the resource may additionally load.
|
|
float | GetLoadingPriority (ezTime now) const |
| Returns the priority that is used by the resource manager to determine which resource to load next.
|
|
ezResourcePriority | GetPriority () const |
| Returns the current resource priority.
|
|
void | SetPriority (ezResourcePriority priority) |
| Changes the current resource priority.
|
|
const EZ_ALWAYS_INLINE ezBitflags< ezResourceFlags > & | GetBaseResourceFlags () const |
| Returns the basic flags for the resource type. Mostly used the resource manager.
|
|
const EZ_ALWAYS_INLINE MemoryUsage & | GetMemoryUsage () const |
| Returns the information about the current memory usage of the resource.
|
|
EZ_ALWAYS_INLINE ezTime | GetLastAcquireTime () const |
| Returns the time at which the resource was (tried to be) acquired last. If a resource is acquired using ezResourceAcquireMode::PointerOnly, this does not update the last acquired time, since the resource is not acquired for full use.
|
|
EZ_ALWAYS_INLINE ezInt32 | GetReferenceCount () const |
| Returns the reference count of this resource.
|
|
const EZ_ALWAYS_INLINE ezTimestamp & | GetLoadedFileModificationTime () const |
| Returns the modification date of the file from which this resource was loaded. More...
|
|
EZ_ALWAYS_INLINE ezUInt32 | GetCurrentResourceChangeCounter () const |
| Returns the current value of the resource change counter. Can be used to detect whether the resource has changed since using it last time. More...
|
|
EZ_ALWAYS_INLINE void | IncResourceChangeCounter () |
| Allows to manually increase the resource change counter to signal that dependent code might need to update.
|
|
virtual void | ResetResource () |
| If the resource has modifications from the original state, it should reset itself to that state now (or force a reload on itself).
|
|
void | PrintHandleStackTraces () |
| Prints the stack-traces for all handles that currently reference this resource. More...
|
|
virtual const ezRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|