Type Alias veloren_voxygen::mesh::greedy::SpriteAtlasAllocator
source · pub type SpriteAtlasAllocator = GuillotiereTiled;
Aliased Type§
struct SpriteAtlasAllocator {
options: AllocatorOptions,
allocator: SimpleAtlasAllocator,
free_tiles: Vec<Vec2<usize>>,
size: Vec2<usize>,
current: Option<Vec2<usize>>,
history: Vec<(u32, u32)>,
used_in_current_tile: u32,
}
Fields§
§options: AllocatorOptions
§allocator: SimpleAtlasAllocator
§free_tiles: Vec<Vec2<usize>>
§size: Vec2<usize>
§current: Option<Vec2<usize>>
§history: Vec<(u32, u32)>
§used_in_current_tile: u32