MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetNames

Method GetNames

src/luxrays/core/namedobjectvector.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void NamedObjectVector::GetNames(std::vector<std::string> &names) const {
130 const u_int size = GetSize();
131 names.resize(size);
132
133 for (u_int i = 0; i < size; ++i)
134 names[i] = GetName(i);
135}
136
137std::vector<NamedObject *> &NamedObjectVector::GetObjs() {
138 return objs;

Callers 4

GetExtMeshNamesMethod · 0.80
GetSceneObjectNamesMethod · 0.80
GetMaterialNamesMethod · 0.80
GetTextureNamesMethod · 0.80

Calls 2

GetSizeFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected