TextureAtlas
Brine2D¶
Brine2D.Rendering.TextureAtlas Namespace¶
| Classes | |
|---|---|
| AtlasRegion | Represents a sub-region within a texture atlas. Describes where a sprite or texture is located in the packed atlas. |
| SpriteBatcherAtlasExtensions | Extension methods for SpriteBatcher to work seamlessly with texture atlases. Import this namespace to enable convenient atlas drawing methods. |
| SpriteBatcherAtlasExtensions.<G>$6B8F1BEFF504F039201B22DB439B4085 | |
| SpriteBatcherAtlasExtensions.<G>$6B8F1BEFF504F039201B22DB439B4085.<M>$8A621F03B2087EA568FA6FC819E7105C | |
| TextureAtlasOptions | Configuration options for texture atlasing. Part of the ASP.NET-style options pattern. |
| Structs | |
|---|---|
| UVRect | Represents UV texture coordinates (normalized 0-1 range). Used for GPU rendering and shader-based sprite batching. |
| Interfaces | |
|---|---|
| ITextureAtlas | Represents a texture atlas containing multiple sprite regions packed into a single texture. Reduces draw calls by batching multiple sprites that share the same atlas texture. |
| ITextureAtlasBuilder | Builder for creating texture atlases from individual textures. Follows ASP.NET's fluent builder pattern for a familiar developer experience. Automatically splits into multiple atlases if textures don't fit in one atlas. |
| ITextureAtlasCollection | 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. |