public class Metashape
extends java.lang.Object
| Constructor and Description |
|---|
Metashape() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getGpuMask()
GPU device bit mask: 1 - use device, 0 - do not use (i.e.
|
static java.lang.String |
getVersion()
Metashape version.
|
static boolean |
isCpuEnabled()
Use CPU when GPU is active.
|
static void |
releaseFreeMemory()
Calls malloc_trim on Linux (does nothing on other OS)
|
static void |
setCpuEnabled(boolean enable)
Use CPU when GPU is active.
|
static void |
setGpuMask(long mask)
GPU device bit mask: 1 - use device, 0 - do not use (i.e.
|
public static java.lang.String getVersion()
public static long getGpuMask()
public static void setGpuMask(long mask)
public static boolean isCpuEnabled()
public static void setCpuEnabled(boolean enable)
public static void releaseFreeMemory()