Legacy version of enum "kanzi.ResourceManager.MemoryStrategy". More...
Public Member Functions | |
| MemoryStrategy (int value) | |
| Constructs a MemoryStrategy of an integer value. More... | |
| MemoryStrategy (MemoryStrategy enum_) | |
| Constructs a copy of a MemoryStrategy object. More... | |
| int | getValue () |
| Returns the integer value of the enumeration constant. More... | |
| final int | swigValue () |
| Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
| static MemoryStrategy | swigToEnum (int swigValue) |
| Converts an integer value to the matching enumeration constant. More... | |
| 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. | |
Legacy version of enum "kanzi.ResourceManager.MemoryStrategy".
Resource manager memory strategy.
| MemoryStrategy | ( | int | value | ) |
Constructs a MemoryStrategy of an integer value.
| value | Integer value to convert to enumeration constant. |
| MemoryStrategy | ( | MemoryStrategy | enum_ | ) |
Constructs a copy of a MemoryStrategy object.
| enum_ | MemoryStrategy to be copy constructed. |
| int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
| swigValue | Integer value to convert to enumeration constant. |
| final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
| value | Integer value to convert to enumeration constant. |