#include <MRViewer/MRImGuiImage.h>
Public Member Functions | |
| ImGuiImage () | |
| virtual | ~ImGuiImage () |
| 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)