Interface IResourceInfo
public interface IResourceInfo : IArc, IDisposable
- Inherited Members
Properties
Class
The class of this resource.
ResourceClass Class { get; }
Property Value
FailReason
A string that tells why the resource loader failed, if not null.
ResourceLoaderFailReason? FailReason { get; }
Property Value
IsFailed
True if the resource loader has failed.
bool IsFailed { get; }
Property Value
IsReady
True when the resource is ready.
bool IsReady { get; }
Property Value
SizeInBytes
Approximate size of the object in bytes.
long SizeInBytes { get; }
Property Value
Remarks
Because C# doesn't provide a way for us to measure the size of reference trees, we have to make do with hand written approximations of the real memory usage. This memory usage counter is used to determine which cached resources are to be evicted.