Example usage for Java com.badlogic.gdx.graphics.glutils ShaderProgram fields, constructors, methods, implement or subclass
The text is from its open source code.
String | POSITION_ATTRIBUTE default name for position attributes |
String | NORMAL_ATTRIBUTE default name for normal attributes |
String | COLOR_ATTRIBUTE default name for color attributes |
String | TEXCOORD_ATTRIBUTE default name for texcoords attributes, append texture unit number |
boolean | pedantic flag indicating whether attributes & uniforms must be present at all times |
boolean | isCompiled whether this program compiled successfully |
ShaderProgram(String vertexShader, String fragmentShader) Constructs a new ShaderProgram and immediately compiles it. | |
ShaderProgram(FileHandle vertexShader, FileHandle fragmentShader) |