![]() |
ezEngine
Release 25.03
|
These events may be sent by a specific ezResource or by the ezResourceManager. More...
#include <Declarations.h>
Public Types | |
enum | Type { Type::ResourceExists, Type::ResourceCreated, Type::ResourceDeleted, Type::ResourceContentUpdated, Type::ResourceContentUnloading, Type::ResourcePriorityChanged } |
Public Attributes | |
Type | m_Type |
ezResource * | m_pResource = nullptr |
These events may be sent by a specific ezResource or by the ezResourceManager.
|
strong |
Enumerator | |
---|---|
ResourceExists | Used to broadcast that a resource exists. Used to inform inspection tools which resources are currently existing. Triggered by ezResourceManager::BroadcastExistsEvent(). |
ResourceCreated | Sent whenever a new resource is added to the system. |
ResourceDeleted | Sent right before a resource gets deallocated. |
ResourceContentUpdated | Sent shortly after ezResource::UpdateContent() has been called on a resource. |
ResourceContentUnloading | Resource is about to be unloaded, but still valid at this point.
|
ResourcePriorityChanged | Sent when the priority of a resource is modified. |