Back to project page touchgloid.
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.
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; } }