summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry/text_buffer.hpp
blob: 4b46a38770aad1cf1ef7d2575924ae8bf1ca41d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <mbgl/geometry/buffer.hpp>
#include <array>

namespace mbgl {

class TextVertexBuffer : public Buffer <
    16,
    gl::BufferType::Vertex,
    32768
> {
public:
    typedef int16_t vertex_type;

    uint32_t add(int16_t x, int16_t y, float ox, float oy, uint16_t tx, uint16_t ty, float minzoom, float maxzoom, float labelminzoom, uint8_t labelangle);
};


} // namespace mbgl