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; /*from w ww .j av a 2 s .c om*/ import static android.opengl.GLES20.GL_VERTEX_SHADER; import static android.opengl.GLES20.glCreateShader; public class VertexShader extends Shader { private static final int TYPE = GL_VERTEX_SHADER; public static VertexShader create() { return new VertexShader(glCreateShader(TYPE)); } private VertexShader(int id) { super(id); } @Override protected int getType() { return TYPE; } }