diff options
author | falkTX <falktx@gmail.com> | 2015-05-02 20:56:22 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2015-05-02 20:56:22 +0200 |
commit | 9864c371e917bde9cf7d20c8cbcb5fc8f9657970 (patch) | |
tree | 6264c838d52b364e27b6618d6236aa34199514eb /dgl/NanoVG.hpp | |
parent | ea0336941c0573f11c75965d128f44bad9ac80ea (diff) |
Add NanoImage::getTextureHandle()
Diffstat (limited to 'dgl/NanoVG.hpp')
-rw-r--r-- | dgl/NanoVG.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dgl/NanoVG.hpp b/dgl/NanoVG.hpp index b0eaf0bf..8e0d710b 100644 --- a/dgl/NanoVG.hpp +++ b/dgl/NanoVG.hpp @@ -48,6 +48,11 @@ public: Size<uint> getSize() const noexcept; /** + Get the OpenGL texture handle. + */ + GLuint getTextureHandle() const; + + /** Update image data. */ void updateImage(const uchar* const data); |