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

Method UpdateData

libs/drape/index_buffer.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void IndexBuffer::UpdateData(ref_ptr<GraphicsContext> context, void const * data, uint32_t size)
17{
18 ASSERT_LESS_OR_EQUAL(size, GetBuffer()->GetCapacity(), ());
19
20 GetBuffer()->Seek(0);
21 if (size > 0)
22 UploadData(context, data, size);
23}
24} // namespace dp

Callers

nothing calls this directly

Calls 2

GetCapacityMethod · 0.45
SeekMethod · 0.45

Tested by

no test coverage detected