MCPcopy Create free account
hub / github.com/comaps/comaps / DrawPrimitivesSubsetIndexed

Method DrawPrimitivesSubsetIndexed

libs/drape/mesh_object.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void MeshObject::DrawPrimitivesSubsetIndexed(ref_ptr<dp::GraphicsContext> context, uint32_t indexCount,
256 uint32_t startIndex)
257{
258 CHECK(m_impl != nullptr, ());
259 CHECK(!m_indices.empty(), ());
260 CHECK_LESS(startIndex, m_indices.size(), ());
261 CHECK_LESS_OR_EQUAL(startIndex + indexCount, m_indices.size(), ());
262
263 m_impl->DrawPrimitivesIndexed(context, indexCount, startIndex);
264}
265
266void MeshObject::DrawPrimitives(ref_ptr<dp::GraphicsContext> context)
267{

Callers 1

RenderMethod · 0.80

Calls 3

emptyMethod · 0.45
sizeMethod · 0.45
DrawPrimitivesIndexedMethod · 0.45

Tested by

no test coverage detected