39 std::shared_ptr<GpuSync::MeshWriterNode>
node;
std::string name
Logical name. Used for lookup and logging only.
bool dirty
Set when local_transform or slot config changes since last upload.
std::shared_ptr< GpuSync::MeshWriterNode > node
Geometry node for this slot.
std::vector< uint32_t > child_indices
Indices of child slots. Populated by MeshNetwork::add_slot().
std::shared_ptr< Core::VKImage > diffuse_texture
Optional diffuse texture. Null means untextured for this slot.
glm::mat4 local_transform
Local-space transform relative to parent (or world if root).
uint32_t index
Position of this slot in MeshNetwork::m_slots. Stable after insertion.
glm::mat4 world_transform
World-space transform, recomputed each cycle from the DAG.
std::optional< uint32_t > parent_index
Index of the parent slot, or nullopt for a root slot.
Named, independently transformable mesh unit within a MeshNetwork.