Structsยง
- Greedy
Config - Greedy
Mesh - Shared state for a greedy mesh, potentially passed along to multiple models.
- Guillotiere
Tiled
Traitsยง
- Atlas
Allocator - Abstraction over different atlas allocators. Useful to swap out the allocator implementation for specific cases (e.g. sprites).
Functionsยง
- add_
to_ ๐atlas - create_
quad - create_
quad_ ๐greedy - Precondition: when this function is called, atlas_pos should reflect an actual valid position in a texture atlas (meaning it should fit into a u16).
- draw_
texels ๐ - We deferred actually recording the colors within the rectangles in order to generate a texture of minimal size; we now proceed to create and populate it.
- general_
config - Currently used by terrain/particles/figures
- greedy_
mesh ๐ - greedy_
mesh_ ๐cross_ section - Greedy meshing a single cross-section.
- guillotiere_
size ๐ - sprite_
config
Type Aliasesยง
- Sprite
Atlas Allocator - Suspended
Mesh - A suspended greedy mesh, with enough information to recover color data.
- Todo
Rect ๐