Class ShaderNodeDefinitionLoader

java.lang.Object
com.jme3.material.plugins.ShaderNodeDefinitionLoader
All Implemented Interfaces:
AssetLoader

public class ShaderNodeDefinitionLoader extends Object implements AssetLoader
ShaderNodeDefinition file loader (.j3sn) a j3sn file is a block style file like j3md or j3m. It must contain one ShaderNodeDefinition{} block that contains several ShaderNodeDefinition{} blocks
  • Constructor Details

    • ShaderNodeDefinitionLoader

      public ShaderNodeDefinitionLoader()
  • Method Details

    • load

      public Object load(AssetInfo assetInfo) 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:
      assetInfo - the located asset
      Returns:
      An object representing the resource.
      Throws:
      IOException - If an I/O error occurs while loading