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

Method DrawPrimitives

libs/drape/mesh_object.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 void DrawPrimitives(ref_ptr<dp::GraphicsContext> context, uint32_t verticesCount, uint32_t startVertex) override
137 {
138 UNUSED_VALUE(context);
139 GLFunctions::glDrawArrays(GetGLDrawPrimitive(m_mesh->m_drawPrimitive), static_cast<int32_t>(startVertex),
140 verticesCount);
141 }
142
143 void DrawPrimitivesIndexed(ref_ptr<dp::GraphicsContext> context, uint32_t indexCount, uint32_t startIndex) override
144 {

Callers

nothing calls this directly

Calls 1

GetGLDrawPrimitiveFunction · 0.85

Tested by

no test coverage detected