Interface SpriteSourceExtension
- All Known Subinterfaces:
SpriteSource
- All Known Implementing Classes:
DirectoryLister, NamespacedDirectoryLister, PalettedPermutations, SingleFile, SourceFilter, Unstitcher
public interface SpriteSourceExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrun(ResourceManager resourceManager, SpriteSource.Output output, Set<MetadataSectionType<?>> additionalMetadata) Called at the start of texture atlas loading to collect thes providing the textures for the atlas being loaded.invalid reference
SpriteSource.SpriteSupplierprivate SpriteSourceself()
-
Method Details
-
run
default void run(ResourceManager resourceManager, SpriteSource.Output output, Set<MetadataSectionType<?>> additionalMetadata) Called at the start of texture atlas loading to collect thes providing the textures for the atlas being loaded.invalid reference
SpriteSource.SpriteSupplier- Parameters:
resourceManager- The resource manager to load the textures fromoutput- The output to add the sprite suppliers toadditionalMetadata- The set of additional metadata sections specified by the atlas being loaded
-
self
-