Class ShaderFunction
java.lang.Object
com.jozufozu.flywheel.backend.glsl.parse.ShaderFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArgs()getBody()getName()com.google.common.collect.ImmutableList<ShaderVariable>getParameterType(int index) getType()protected com.google.common.collect.ImmutableList<ShaderVariable>static com.google.common.collect.ImmutableMap<String,ShaderFunction> parseFunctions(SourceLines source) Scan the source for function definitions and "parse" them into objects that contain properties of the function.toString()
-
Field Details
-
PATTERN
-
argument
-
assignment
-
self
-
-
Constructor Details
-
ShaderFunction
-
-
Method Details
-
parseFunctions
public static com.google.common.collect.ImmutableMap<String,ShaderFunction> parseFunctions(SourceLines source) Scan the source for function definitions and "parse" them into objects that contain properties of the function. -
getType
-
getName
-
getArgs
-
getBody
-
call
-
getParameterType
-
getParameters
-
returnTypeName
-
parseArguments
-
toString
-