#include <MRImGuiImage.h>
Inheritance diagram for MR::ImGuiImage:Public Member Functions | |
| MRVIEWER_API | ImGuiImage () |
| virtual MRVIEWER_API | ~ImGuiImage () |
| MRVIEWER_API void | update (const MeshTexture &texture) |
| Sets image to texture. | |
| ImTextureID | getImTextureId () const |
| unsigned | getId () const |
| Returns gl texture id. | |
| const MeshTexture & | getMeshTexture () const |
| Returns current MeshTexture. | |
| int | getImageWidth () const |
| int | getImageHeight () const |
Simple ImGui Image create GL texture in constructor, free it in destructor cant be moved(for now) or copied(forever)