summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/vertex_buffer_resource.hpp
blob: 95e5e75d452f0230e1e08020ef85c968ddae42b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <mbgl/gfx/vertex_buffer.hpp>
#include <mbgl/gl/object.hpp>

namespace mbgl {
namespace gl {

class VertexBufferResource : public gfx::VertexBufferResource {
public:
    VertexBufferResource(UniqueBuffer&& buffer_) : buffer(std::move(buffer_)) {
    }

    UniqueBuffer buffer;
};

} // namespace gl
} // namespace mbgl