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

#include <mbgl/gl/object.hpp>
#include <mbgl/util/size.hpp>

namespace mbgl {
namespace gl {

template <RenderbufferType renderbufferType>
class Renderbuffer {
public:
    using type = std::integral_constant<RenderbufferType, renderbufferType>;
    Size size;
    gl::UniqueRenderbuffer renderbuffer;
};

} // namespace gl
} // namespace mbgl