| 158 | } |
| 159 | |
| 160 | MeshInstanceEx::MeshInstanceEx(const std::shared_ptr<donut::engine::MeshInfo>& mesh) |
| 161 | : MeshInstance(mesh) |
| 162 | { |
| 163 | PerGeometryLightSamplerLinks.resize(mesh->geometries.size(), { -1, -1 }); |
| 164 | } |
| 165 | |
| 166 | [[nodiscard]] std::shared_ptr<SceneGraphLeaf> MeshInstanceEx::Clone() |
| 167 | { |
nothing calls this directly
no outgoing calls
no test coverage detected