mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
* Add deterministic disposal for textures in IResourceCache * Review * Thanks PJB Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> * Review --------- Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
13 lines
333 B
C#
13 lines
333 B
C#
namespace Robust.Client.ResourceManagement;
|
|
|
|
/// <summary>
|
|
/// Defines type-level metadata for resource types.
|
|
/// </summary>
|
|
public interface IBaseResource
|
|
{
|
|
/// <summary>
|
|
/// Whether resources of this type can be deterministically removed from the cache.
|
|
/// </summary>
|
|
static virtual bool CanBeRemoved => false;
|
|
}
|