| Package | Description |
|---|---|
| com.jme3.app.jmeSurfaceView |
| Modifier and Type | Method and Description |
|---|---|
JmeSurfaceView.DestructionPolicy |
JmeSurfaceView.getDestructionPolicy()
Gets the current destruction policy.
|
static JmeSurfaceView.DestructionPolicy |
JmeSurfaceView.DestructionPolicy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JmeSurfaceView.DestructionPolicy[] |
JmeSurfaceView.DestructionPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JmeSurfaceView.setDestructionPolicy(JmeSurfaceView.DestructionPolicy destructionPolicy)
Sets the current destruction policy, destruction policy
KEEP_WHEN_FINISH ensures that we protect the app state
using JmeSurfaceView.GameState.legacyApplication static memory when the activity finishes, while
DESTROY_WHEN_FINISH destroys the game context with the activity onDestroy(). |