Class ShaderLoader

java.lang.Object
gaiasky.util.gdx.contrib.utils.ShaderLoader

public final class ShaderLoader extends Object
  • Field Details

    • BasePath

      public static String BasePath
    • Pedantic

      public static boolean Pedantic
  • Method Details

    • fromFile

      public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromFile(String vertexFileName, String fragmentFileName)
    • fromFile

      public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromFile(String vertexFileName, String fragmentFileName, String defines)
    • fromString

      public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromString(String vertex, String fragment, String vertexName, String fragmentName)
    • fromString

      public static com.badlogic.gdx.graphics.glutils.ShaderProgram fromString(String vertex, String fragment, String vertexName, String fragmentName, String defines)