diff --git a/src/AbstractTexture.h b/src/AbstractTexture.h index 6b97f0a66..b184693e8 100644 --- a/src/AbstractTexture.h +++ b/src/AbstractTexture.h @@ -156,6 +156,9 @@ class MAGNUM_EXPORT AbstractTexture { /** @brief %Texture layer */ inline GLint layer() const { return _layer; } + /** @brief OpenGL internal texture ID */ + inline GLuint id() const { return texture; } + /** * @brief Bind texture for usage / rendering *