MemoryReport class Assets and loading
A snapshot of what flutter_scene is keeping resident.
Covers what the engine's shared caches pin, which is the memory an app has no other way to see or release. It does not cover resources the app holds itself (a Texture2D you constructed and kept), and it is a measure of what is pinned, not of what the GPU has actually reclaimed. Dropping the last reference to a resource makes it collectable, but the reclaim happens on the engine's schedule.
- Annotations
Constructors
-
MemoryReport(List<
MemoryCategory> categories) -
const
Properties
-
categories
→ List<
MemoryCategory> -
Every category, in a stable order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalBytes → int
-
Total resident bytes across the categories that can report a size.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited