Skip to main content

Module multi_atlas

Module multi_atlas 

Source
Expand description

Multi-atlas management for texture atlases.

This module provides support for managing multiple texture atlases, allowing for handling of large numbers of images.

The allocator backend is guillotiereโ€™s tree-based guillotine algorithm, providing O(1) neighbor lookup during deallocation and automatic free-rect coalescing.

Structsยง

AllocId
ID referring to an allocated rectangle.
Allocation
The result of a successful rectangle allocation within a single atlas.
Atlas
Represents a single atlas in the multi-atlas system.
AtlasAllocation
Result of an atlas allocation attempt.
AtlasConfig
Configuration for multiple atlas support.
AtlasId
Unique identifier for an atlas.
AtlasLayerDiagnostics
Free-space details for one atlas texture-array layer.
AtlasUsageStats
Usage statistics for an atlas.
Dimensions ๐Ÿ”’
MultiAtlasManager
Manages multiple texture atlases.
Percentage ๐Ÿ”’

Enumsยง

AllocationStrategy
Strategy for allocating images across multiple atlases.
AtlasError
Errors that can occur during atlas operations.
AtlasSpaceDiagnostics
Free-space details collected after an atlas allocation fails.