MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / hasGeometry

Method hasGeometry

source/MaterialXRender/GeometryHandler.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool GeometryHandler::hasGeometry(const string& location)
48{
49 for (const auto& mesh : _meshes)
50 {
51 if (mesh->getSourceUri() == location)
52 {
53 return true;
54 }
55 }
56 return false;
57}
58
59void GeometryHandler::getGeometry(MeshList& meshes, const string& location)
60{

Callers 2

runRendererMethod · 0.80
runRendererMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected