MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ImGuiImage Class Reference

#include <MRViewer/MRImGuiImage.h>

Inheritance diagram for MR::ImGuiImage:

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 MeshTexturegetMeshTexture () const
 Returns current MeshTexture.
int getImageWidth () const
int getImageHeight () const

Detailed Description

Simple ImGui Image create GL texture in constructor, free it in destructor cant be moved(for now) or copied(forever)


The documentation for this class was generated from the following file: