Back to project page android-per-pixel-lighting-demo.
The source code is released under:
Apache License
If you think the Android project android-per-pixel-lighting-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.pedroedrasousa.engine; //from w w w . j a v a 2s. co m import android.view.MotionEvent; import android.view.View; import android.opengl.*; public interface Renderer extends GLSurfaceView.Renderer { public void onResume(); public void onPause(); public void onSurfaceDestroyed(); public boolean onTouch(View view, MotionEvent event); public int getViewportWidth(); public int getViewportHeight(); public void onScreenOnOffToggled(boolean isScreenOn); }