Class GLSLLoader

java.lang.Object
com.jme3.shader.plugins.GLSLLoader
All Implemented Interfaces:
AssetLoader

public class GLSLLoader extends Object implements AssetLoader
GLSL File parser that supports #import pre-processor statement
  • Constructor Details

    • GLSLLoader

      public GLSLLoader()
  • Method Details

    • load

      public Object load(AssetInfo info) throws IOException
      Description copied from interface: AssetLoader
      Loads asset from the given input stream, parsing it into an application-usable object.
      Specified by:
      load in interface AssetLoader
      Parameters:
      info - the located asset
      Returns:
      An object representing the resource.
      Throws:
      IOException - If an I/O error occurs while loading