Files
astromaddie--lambda1-vr/java/com/drbeef/lambda1vr/GLES3JNILib.java
T
Simon cb3000f57f Implement clean shutdown
- increase version number to 1.6.1
2023-05-01 09:57:09 +01:00

24 lines
749 B
Java

package com.drbeef.lambda1vr;
import android.app.Activity;
import android.view.Surface;
// Wrapper for native library
public class GLES3JNILib
{
// Activity lifecycle
public static native long onCreate( Activity obj, String commandLineParams );
public static native void onStart( long handle, Object obj );
public static native void onResume( long handle );
public static native void onPause( long handle );
public static native void onStop( long handle );
public static native void onDestroy( long handle );
// Surface lifecycle
public static native void onSurfaceCreated( long handle, Surface s );
public static native void onSurfaceChanged( long handle, Surface s );
public static native void onSurfaceDestroyed( long handle );
}