Class ShaderPool

All Implemented Interfaces:
Destructible

public final class ShaderPool extends TextAssetPool<Shader>
  • Constructor Details

    • ShaderPool

      public ShaderPool()
  • Method Details

    • load

      public Shader load(int type, String path)
    • parse

      protected Shader parse(String path, String content)
      Description copied from class: TextAssetPool
      Parses the text file as an asset.
      Specified by:
      parse in class TextAssetPool<Shader>
      Parameters:
      path - The path of the text file. Mostly used for debugging purposes.
      content - The content of the text file
      Returns:
      The new asset