Kanzi  3.9.7
Java API
MemoryStrategy Enum Reference

Legacy version of enum "kanzi.ResourceManager.MemoryStrategy". More...

Inheritance diagram for MemoryStrategy:
[legend]

Public Member Functions

 MemoryStrategy (int mValue)
 
 MemoryStrategy (MemoryStrategy enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static MemoryStrategy swigToEnum (int swigValue)
 
static MemoryStrategy toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 KeepInMemory =(0)
 When a resource is no longer referenced, the resource manager keeps the resource in memory
until you call purge().
 
 OptimizeMemory =(1)
 When a resource is no longer referenced, the resource manager deletes the resource and frees
the (CPU and GPU) memory used by the resource.
 

Detailed Description

Legacy version of enum "kanzi.ResourceManager.MemoryStrategy".


Resource manager memory strategy.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static MemoryStrategy toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.