Files
comaps/drape/index_buffer_mutator.hpp
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

31 lines
519 B
C++

#pragma once
#include "drape/index_storage.hpp"
#include "drape/pointers.hpp"
#include <cstdint>
namespace dp
{
class VertexArrayBuffer;
class IndexBufferMutator
{
public:
explicit IndexBufferMutator(uint32_t baseSize);
void AppendIndexes(void const * indexes, uint32_t count);
uint32_t GetCapacity() const;
private:
friend class VertexArrayBuffer;
void const * GetIndexes() const;
uint32_t GetIndexCount() const;
private:
IndexStorage m_buffer;
uint32_t m_activeSize = 0;
};
} // namespace dp