Package gaia.cu9.ari.gaiaorbit.assets
Class ShaderTemplatingLoader
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.assets.ShaderTemplatingLoader
-
public class ShaderTemplatingLoader extends java.lang.Object
Loads shaders with extra functionality to add code from other shaders. Recognizes the directive #include shader.glsl in.glsl
files.
-
-
Constructor Summary
Constructors Constructor Description ShaderTemplatingLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
load(com.badlogic.gdx.files.FileHandle fh)
static java.lang.String
load(java.lang.String file)
static java.lang.String
resolveIncludes(java.lang.String in)
-