Lines Matching refs:ShaderProgram
24 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
39 * Needs to be explicitly disposed as it might allocate a ShaderProgram when GLSL 2.0 is used.
95 ShaderProgram shader;
180 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
181 + "attribute vec4 " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" //
182 + "attribute vec2 " + ShaderProgram.TEXCOORD_ATTRIBUTE + "0;\n" //
189 + " v_color = " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" //
190 + " v_texCoords = " + ShaderProgram.TEXCOORD_ATTRIBUTE + "0;\n" //
191 + " gl_Position = u_projectionViewMatrix * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
204 shader = new ShaderProgram(vertexShader, fragmentShader);
209 public ShaderProgram getGroupShader (int group) {