Skip to content

kohii-core / kohii.v1.core / MemoryMode


enum class MemoryMode

Enum Values

Name Summary
AUTO In AUTO mode, Kohii will judge the preferred memory situation using Master.preferredMemoryMode method.
LOW In LOW mode, Kohii will always release resource of unselected Playables/Playbacks (whose priority are >= 1).
NORMAL In NORMAL mode, Kohii will only reset the Playables/Playbacks whose distance to selected ones are 1 (so 'next to' selected ones). Others will be released.
BALANCED In BALANCED mode, the release behavior is the same with 'NORMAL' mode, but unselected Playables/Playbacks will not be reset.
HIGH HIGH mode must be specified by client.
INFINITE "For the bravest only"