MCPcopy Create free account
hub / github.com/OpenMW/openmw / addArraySize

Function addArraySize

components/sceneutil/optimizer.cpp:1233–1237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231 }
1232
1233 void addArraySize(const osg::Array* array, unsigned& size)
1234 {
1235 if (array != nullptr)
1236 size += array->getNumElements();
1237 }
1238
1239 void addArraySizes(const std::vector<osg::ref_ptr<osg::Array>>& dst,
1240 const std::vector<osg::ref_ptr<osg::Array>>& src, std::vector<unsigned>& sizes)

Callers 1

addArraysSizesFunction · 0.85

Calls 1

getNumElementsMethod · 0.80

Tested by

no test coverage detected