Android Open Source - android-per-pixel-lighting-demo Renderer






From Project

Back to project page android-per-pixel-lighting-demo.

License

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.

Java Source Code

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);
}




Java Source Code List

com.pedroedrasousa.engine.EngineGLSurfaceView.java
com.pedroedrasousa.engine.Renderer.java
com.pedroedrasousa.engine.ShaderProgram.java
com.pedroedrasousa.engine.Texture.java
com.pedroedrasousa.engine.Vec2.java
com.pedroedrasousa.engine.Vec3.java
com.pedroedrasousa.object3d.Mesh.java
com.pedroedrasousa.object3d.Model.java
com.pedroedrasousa.object3d.ObjLoader.java
com.pedroedrasousa.object3d.Triangle.java
com.pedroedrasousa.object3d.Vertex.java
com.pedroedrasousa.perpixellightingdemo.MainActivity.java
com.pedroedrasousa.perpixellightingdemo.PerPixelLighting.java