MCPcopy Create free account
hub / github.com/axmolengine/axmol / getIndexCount

Method getIndexCount

core/3d/Mesh.cpp:839–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839ssize_t Mesh::getIndexCount() const
840{
841 return _meshIndexData->getIndexBuffer()->getSize() / IndexArray::formatToStride(meshIndexFormat);
842}
843
844CustomCommand::IndexFormat Mesh::getIndexFormat() const
845{

Callers 3

processRenderCommandMethod · 0.80
drawBatchedTrianglesMethod · 0.80

Calls 2

getSizeMethod · 0.45
getIndexBufferMethod · 0.45

Tested by

no test coverage detected