ITextureAtlasCollection Interface
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Represents a collection of texture atlases that can be queried as a single logical atlas. Used when textures don't fit in a single atlas and are automatically split across multiple atlases.
Derived
↳ TextureAtlasCollection
Implements System.IDisposable
| Properties | |
|---|---|
| Atlases | Gets all atlases in this collection. |
| Name | Gets the name of this atlas collection. |
| TotalRegionCount | Gets the total number of regions across all atlases. |
| Methods | |
|---|---|
| ContainsRegion\(string\) | Checks if a region with the given name exists in any atlas. |
| GetAllRegionNames() | Gets all region names across all atlases. |
| GetAllRegions() | Gets all regions from all atlases. |
| GetRegion\(string\) | Gets a region by name. Throws if not found. |
| TryGetRegion\(string, AtlasRegion\) | Attempts to retrieve a region by name from any atlas in the collection. |