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

Method SubmitIndices

libs/drape/batcher.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void SubmitIndices(ref_ptr<GraphicsContext> context) override
59 {
60 if (m_overlay == nullptr || !m_overlay->IndexesRequired())
61 m_buffer->UploadIndices(context, m_indexStorage.GetRawConst(), m_indexStorage.Size());
62 }
63
64 uint32_t GetAvailableVertexCount() const override { return m_buffer->GetAvailableVertexCount(); }
65

Callers

nothing calls this directly

Calls 4

UploadIndicesMethod · 0.80
GetRawConstMethod · 0.80
IndexesRequiredMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected