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

Method DataBufferMapper

libs/drape/data_buffer.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60DataBufferMapper::DataBufferMapper(ref_ptr<GraphicsContext> context, ref_ptr<DataBuffer> buffer, uint32_t elementOffset,
61 uint32_t elementCount)
62 : m_context(context)
63 , m_buffer(buffer)
64{
65 m_buffer->GetBuffer()->Bind();
66 m_ptr = m_buffer->GetBuffer()->Map(m_context, elementOffset, elementCount);
67}
68
69DataBufferMapper::~DataBufferMapper()
70{

Callers

nothing calls this directly

Calls 3

BindMethod · 0.45
GetBufferMethod · 0.45
MapMethod · 0.45

Tested by

no test coverage detected