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§
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