| Package | Description |
|---|---|
| org.achtern.AchternEngine.core.resource.fileparser | |
| org.achtern.AchternEngine.core.resource.fileparser.caseclasses |
| Modifier and Type | Method and Description |
|---|---|
protected static GLSLStruct |
GLSLParser.findNameInList(String name,
List<GLSLStruct> structs)
Just iterates over the list and returns the first one with a matching name.
|
| Modifier and Type | Method and Description |
|---|---|
List<GLSLStruct> |
GLSLParser.getStructs(String text)
Parses all structs out of the supplied shader source
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
GLSLParser.expandUniform(Variable uniform,
GLSLStruct main,
List<GLSLStruct> structs)
Expand a uniform
If a uniform's type is a custom struct, OpenGL
expects you to expand it.
|
static List<String> |
GLSLParser.expendVariable(Variable variable,
GLSLStruct main,
List<GLSLStruct> structs)
Expand a variable
If a uniform's type is a custom struct, OpenGL
expects you to expand it.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
GLSLParser.expandUniform(Variable uniform,
GLSLStruct main,
List<GLSLStruct> structs)
Expand a uniform
If a uniform's type is a custom struct, OpenGL
expects you to expand it.
|
static List<String> |
GLSLParser.expendVariable(Variable variable,
GLSLStruct main,
List<GLSLStruct> structs)
Expand a variable
If a uniform's type is a custom struct, OpenGL
expects you to expand it.
|
protected static GLSLStruct |
GLSLParser.findNameInList(String name,
List<GLSLStruct> structs)
Just iterates over the list and returns the first one with a matching name.
|
List<Uniform> |
GLSLParser.getExpandedUniforms(String text,
List<Variable> uniforms,
List<GLSLStruct> structs)
Expands all uniforms for adding to the shader programm
|
protected static void |
GLSLParser.printStructs(List<GLSLStruct> structs)
Prints a list of GLSLStruct s in an XML like format:
(Only if trace logging is enabled!)
|
| Modifier and Type | Field and Description |
|---|---|
protected List<GLSLStruct> |
GLSLScript.structs |
Copyright © 2014. All rights reserved.