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 theSpriteSource.SpriteSuppliers providing the textures for the atlas being loaded.private 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 theSpriteSource.SpriteSuppliers providing the textures for the atlas being loaded.- 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
-