Class IncludeShader

java.lang.Object
com.github.darksoulq.abyssallib.server.resource.asset.IncludeShader
All Implemented Interfaces:
Asset

public class IncludeShader extends Object implements Asset
  • Constructor Details

    • IncludeShader

      public IncludeShader(org.bukkit.plugin.Plugin plugin, String namespace, String name)
    • IncludeShader

      public IncludeShader(String namespace, String name, byte[] glsl)
    • IncludeShader

      public IncludeShader(String namespace, String name, String glsl)
  • Method Details

    • emit

      public void emit(Map<String,byte[]> files)
      Description copied from interface: Asset
      Emits the asset's files into the provided output map.
      Specified by:
      emit in interface Asset
      Parameters:
      files - the output map where keys are file paths and values are file contents