Uses of Enum Class
com.jme3.view.surfaceview.JmeSurfaceView.DestructionPolicy
Packages that use JmeSurfaceView.DestructionPolicy
-
Uses of JmeSurfaceView.DestructionPolicy in com.jme3.view.surfaceview
Methods in com.jme3.view.surfaceview that return JmeSurfaceView.DestructionPolicyModifier and TypeMethodDescriptionJmeSurfaceView.getDestructionPolicy()Gets the current destruction policy.Returns the enum constant of this class with the specified name.static JmeSurfaceView.DestructionPolicy[]JmeSurfaceView.DestructionPolicy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.jme3.view.surfaceview with parameters of type JmeSurfaceView.DestructionPolicyModifier and TypeMethodDescriptionvoidJmeSurfaceView.setDestructionPolicy(JmeSurfaceView.DestructionPolicy destructionPolicy) Sets the current destruction policy, destruction policyKEEP_WHEN_FINISHensures that we protect the app state usingJmeSurfaceView.GameState.legacyApplicationstatic memory when the activity finishes, whileDESTROY_WHEN_FINISHdestroys the game context with the activity onDestroy().