diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-01 13:48:20 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-04-05 11:49:17 +0200 |
commit | 865f8a6c03540e329ed6caef354799fb58b7ab6e (patch) | |
tree | 8c748a0ef16dc88ed0ceeadea71f20bfd99cdf96 /include/mbgl/gl | |
parent | ebd850803278a6ffbca0bc8a5b96d415b239aeb8 (diff) | |
download | qtlocation-mapboxgl-865f8a6c03540e329ed6caef354799fb58b7ab6e.tar.gz |
[core] add gfx::Renderable and gfx::OffscreenTexture
Diffstat (limited to 'include/mbgl/gl')
-rw-r--r-- | include/mbgl/gl/renderable_resource.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/mbgl/gl/renderable_resource.hpp b/include/mbgl/gl/renderable_resource.hpp new file mode 100644 index 0000000000..0be0ae9c67 --- /dev/null +++ b/include/mbgl/gl/renderable_resource.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include <mbgl/gfx/renderable.hpp> + +namespace mbgl { +namespace gl { + +class RenderableResource : public gfx::RenderableResource { +protected: + explicit RenderableResource() = default; + +public: + virtual void bind() = 0; +}; + +} // namespace gl +} // namespace mbgl |