blob: 06799d3138c768e851dd55bc5f3a4b0a94df59ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "drape/pointers.hpp"
namespace dp
{
class VertexArrayBuffer;
class IndexBufferMutator
{
public:
IndexBufferMutator(uint16_t baseSize);
void AppendIndexes(uint16_t const * indexes, uint16_t count);
private:
friend class VertexArrayBuffer;
uint16_t const * GetIndexes() const;
uint16_t GetIndexCount() const;
private:
vector<uint16_t> m_buffer;
uint16_t m_activeSize;
};
} // namespace dp
|