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:
  - `Resource`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final byte`
  `Budgeted`
  The resource is budgeted and is subject to cleaning up under budget pressure.
  `static final byte`
  `NotBudgeted`
  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`
  `WrapCacheable`
  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 Budgeted
    The resource is budgeted and is subject to cleaning up under budget pressure.
    See Also:
      - Constant Field Values

  - ### NotBudgeted

    static final byte NotBudgeted
    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.
    See Also:
      - Constant Field Values

  - ### WrapCacheable

    static final byte WrapCacheable
    The 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:
      - Constant Field Values