Package icyllis.arc3d.engine
Interface Engine.BudgetType
- Enclosing interface:
Engine
public static interface Engine.BudgetType
Budget types. Used with resources that have a large memory allocation.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
The resource is budgeted and is subject to cleaning up under budget pressure.static final byte
The resource is not budgeted and is cleaned up as soon as it has no refs regardless of whether it has a unique or scratch key.static final byte
The resource is not budgeted and is allowed to remain in the cache with no refs if it has a unique key.
-
Field Details
-
Budgeted
static final byte BudgetedThe resource is budgeted and is subject to cleaning up under budget pressure.- See Also:
-
NotBudgeted
static final byte NotBudgetedThe resource is not budgeted and is cleaned up as soon as it has no refs regardless of whether it has a unique or scratch key.- See Also:
-
WrapCacheable
static final byte WrapCacheableThe resource is not budgeted and is allowed to remain in the cache with no refs if it has a unique key. Scratch keys are ignored.- See Also:
-