3#include <Core/ResourceManager/Resource.h>
4#include <GameEngine/StateMachine/StateMachine.h>
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
The base class for all resources.
Definition Resource.h:10
virtual plResourceLoadDesc UnloadData(Unload WhatToUnload)=0
Requests the resource to unload another quality level. If bFullUnload is true, the resource should un...
virtual plResourceLoadDesc UpdateContent(plStreamReader *pStream)=0
Called whenever more data for the resource is available. The resource must read the stream to update ...
virtual void UpdateMemoryUsage(MemoryUsage &out_NewMemoryUsage)=0
This function must be overridden by all resource types.
A Shared ptr manages a shared object and destroys that object when no one references it anymore....
Definition SharedPtr.h:10
Definition StateMachineResource.h:9
Interface for binary in (read) streams.
Definition Stream.h:22
A Unique ptr manages an object and destroys that object when it goes out of scope....
Definition UniquePtr.h:10
Describes in which loading state a resource currently is, and how many different quality levels there...
Definition Declarations.h:102