Package gaiasky.render.util
Class ShaderLoader
java.lang.Object
gaiasky.render.util.ShaderLoader
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.graphics.glutils.ShaderProgram
static com.badlogic.gdx.graphics.glutils.ShaderProgram
static com.badlogic.gdx.graphics.glutils.ShaderProgram
fromString
(String vertex, String fragment, String vertexName, String fragmentName) static com.badlogic.gdx.graphics.glutils.ShaderProgram
-
Field Details
-
BasePath
-
Pedantic
public static boolean Pedantic
-
-
Method Details
-
fromFile
-
fromFile
public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromFile(String vertexFileName, String fragmentFileName, String defines) throws RuntimeException - Throws:
RuntimeException
-
fromString
public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromString(String vertex, String fragment, String vertexName, String fragmentName) throws RuntimeException - Throws:
RuntimeException
-
fromString
public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromString(String vertex, String fragment, String vertexName, String fragmentName, String defines) throws RuntimeException - Throws:
RuntimeException
-