Android Open Source - touchgloid Fragment Shader






From Project

Back to project page touchgloid.

License

The source code is released under:

MIT License

If you think the Android project touchgloid 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 rucamzu.opengl;
/*  ww  w .  j av a2  s. c o m*/
import static android.opengl.GLES20.GL_FRAGMENT_SHADER;
import static android.opengl.GLES20.glCreateShader;

public class FragmentShader extends Shader {

  private static final int TYPE = GL_FRAGMENT_SHADER;
  
  public static FragmentShader create() {
    return new FragmentShader(glCreateShader(TYPE));
  }

  private FragmentShader(int id) {
    super(id);
  }

  @Override
  protected int getType() {
    return TYPE;
  }

}




Java Source Code List

rucamzu.opengl.Buffer.java
rucamzu.opengl.FragmentShader.java
rucamzu.opengl.IndexBuffer.java
rucamzu.opengl.Object.java
rucamzu.opengl.Program.java
rucamzu.opengl.Shader.java
rucamzu.opengl.Transform.java
rucamzu.opengl.Vector.java
rucamzu.opengl.VertexBuffer.java
rucamzu.opengl.VertexShader.java
rucamzu.touchgloid.TouchgloidActivity.java
rucamzu.touchgloid.TouchgloidRenderer.java
rucamzu.touchgloid.TouchgloidView.java