MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / MeshInstanceEx

Method MeshInstanceEx

Rtxpt/SampleCommon/ExtendedScene.cpp:160–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160MeshInstanceEx::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{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected