public class ShaderSourceLoader extends PassThroughLoader
PassThroughLoader,
which specifies the LineBasedParser (
GLSLParser).PassThroughLoader| Modifier and Type | Field and Description |
|---|---|
protected LineBasedParser |
parser
Parser to use, defaults to
GLSLParser |
input| Constructor and Description |
|---|
ShaderSourceLoader()
Constructs with a
GLSLParser |
ShaderSourceLoader(LineBasedParser parser)
Constructs with a custom parser
|
| Modifier and Type | Method and Description |
|---|---|
LineBasedParser |
getPreProcessor()
The preprocessor is used during reading.
|
get, loadgetObjectprotected LineBasedParser parser
GLSLParserpublic ShaderSourceLoader()
GLSLParserpublic ShaderSourceLoader(LineBasedParser parser)
parser - parser to usepublic LineBasedParser getPreProcessor()
LineBasedParser
will get called. (When reading from cache for example, no PreProcessor is getting called).getPreProcessor in class AsciiFileLoader<String>Copyright © 2014. All rights reserved.