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

Method UploadIndices

libs/drape/vertex_array_buffer.cpp:336–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void VertexArrayBuffer::UploadIndices(ref_ptr<GraphicsContext> context, void const * data, uint32_t count)
337{
338 CHECK_LESS_OR_EQUAL(count, GetIndexBuffer()->GetAvailableSize(), ());
339 GetIndexBuffer()->UploadData(context, data, count);
340}
341
342void VertexArrayBuffer::ApplyMutation(ref_ptr<GraphicsContext> context, ref_ptr<IndexBufferMutator> indexMutator,
343 ref_ptr<AttributeBufferMutator> attrMutator)

Callers 1

SubmitIndicesMethod · 0.80

Calls 2

GetAvailableSizeMethod · 0.45
UploadDataMethod · 0.45

Tested by

no test coverage detected