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

#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 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: