Interface SpriteSourceExtension

All Known Subinterfaces:
SpriteSource
All Known Implementing Classes:
DirectoryLister, NamespacedDirectoryLister, PalettedPermutations, SingleFile, SourceFilter, Unstitcher

public interface SpriteSourceExtension
  • Method Details

    • run

      default void run(ResourceManager resourceManager, SpriteSource.Output output, Set<MetadataSectionType<?>> additionalMetadata)
      Called at the start of texture atlas loading to collect the SpriteSource.SpriteSuppliers providing the textures for the atlas being loaded.
      Parameters:
      resourceManager - The resource manager to load the textures from
      output - The output to add the sprite suppliers to
      additionalMetadata - The set of additional metadata sections specified by the atlas being loaded
    • self

      private SpriteSource self()