Structsยง
- Character
Cache ๐Key - NOTE: To avoid spamming the character cache with player models, we try to store only the minimum information required to correctly update the model.
- Character
Third ๐Person Key - Character data that exists in third person only.
- Character
Tool ๐Key - Character data that should be visible when tools are visible (i.e. in third person or when the character is in a tool-using state).
- Figure
Key - TODO: merge item_key and extra field into an enum
- Figure
Model ๐Cache - Mesh
Worker Response - A type produced by mesh worker threads corresponding to the information needed to mesh figures.
- Terrain
Mesh Worker Response - A type produced by mesh worker threads corresponding to the information needed to mesh figures.
Enumsยง
- Figure
Model Entry Future - A future FigureModelEntryLod.
- Terrain
Model Entry Future - A future TerrainModelEntryLod.
- ToolKey
Constantsยง
- LOD_
COUNT ๐
Traitsยง
Type Aliasesยง
- Figure
Model ๐Entry Lod - Mesh
Worker Cell - NOTE: To test this cell for validity, we currently first use
Arc::get_mut(), and then only if that succeeds do we call AtomicCell::take.
This way, we avoid all atomic updates for the fast path read in the โnot yet
updatedโ case (though it would be faster without weak pointers); since once
itโs updated, we switch from
Pending
toDone
, this is only suboptimal for one frame. - Terrain
Mesh Worker Cell - Terrain
Model ๐Entry Lod