public class GLSLProgram extends NativeObject
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Uniform> |
cachedExpandedUniforms |
protected Map<String,Uniform> |
cachedUniforms |
protected String |
name |
protected Map |
parsed |
protected GLSLParser |
parser |
protected List<GLSLScript> |
scripts |
protected String |
source |
INVALID_ID| Constructor and Description |
|---|
GLSLProgram(String name,
String program) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAndThrow(String key,
Map map) |
Uniform |
getExpandedUniform(String name) |
List<Uniform> |
getExpandedUniforms() |
Uniform |
getUniform(String name) |
List<Uniform> |
getUniforms() |
void |
parse(GLSLParser parser) |
protected void |
pushShader(String source,
GLSLScript.Type type) |
protected void |
validate(Map map) |
getID, setIDprotected String name
protected String source
protected Map parsed
protected List<GLSLScript> scripts
protected GLSLParser parser
public void parse(GLSLParser parser) throws Exception
Exceptionprotected void pushShader(String source, GLSLScript.Type type)
protected void validate(Map map)
Copyright © 2014. All rights reserved.