![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
Definition at line 13 of file OgreImGuiOverlay.h.
Inheritance diagram for Ogre::ImGuiOverlay:Data Structures | |
| class | ImGUIRenderable |
Public Member Functions | |
| ImGuiOverlay () | |
| ~ImGuiOverlay () | |
| ImFont * | addFont (const String &name, const String &group OGRE_RESOURCE_GROUP_INIT, float size_scale=1.f) |
| void | rebuildFontTexture () |
| void | _findVisibleObjects (Camera *cam, RenderQueue *queue, Viewport *vp) |
| void | initialise () |
Static Public Member Functions | |
| static void | NewFrame (const FrameEvent &evt) |
Private Types | |
| typedef std::vector< ImWchar > | CodePointRange |
Private Attributes | |
| std::vector< CodePointRange > | mCodePointRanges |
| ImGUIRenderable | mRenderable |
|
private |
Definition at line 34 of file OgreImGuiOverlay.h.
| Ogre::ImGuiOverlay::ImGuiOverlay | ( | ) |
Definition at line 25 of file OgreImGuiOverlay.cpp.
| Ogre::ImGuiOverlay::~ImGuiOverlay | ( | ) |
Definition at line 32 of file OgreImGuiOverlay.cpp.
| void Ogre::ImGuiOverlay::_findVisibleObjects | ( | Camera * | cam, |
| RenderQueue * | queue, | ||
| Viewport * | vp | ||
| ) |
Definition at line 48 of file OgreImGuiOverlay.cpp.
| ImFont * Ogre::ImGuiOverlay::addFont | ( | const String & | name, |
| const String &group | OGRE_RESOURCE_GROUP_INIT, | ||
| float | size_scale = 1.f |
||
| ) |
add font from ogre .fontdef file must be called before first show() or followed by rebuildFontTexture()
Definition at line 77 of file OgreImGuiOverlay.cpp.
| void Ogre::ImGuiOverlay::initialise | ( | ) |
Definition at line 37 of file OgreImGuiOverlay.cpp.
|
static |
Definition at line 138 of file OgreImGuiOverlay.cpp.
| void Ogre::ImGuiOverlay::rebuildFontTexture | ( | ) |
RIGSOFRODS: re-create the font texture after fonts were changed (i.e. io.Fonts->Clear() + addFont())
Definition at line 110 of file OgreImGuiOverlay.cpp.
|
private |
Definition at line 35 of file OgreImGuiOverlay.h.
|
private |
Definition at line 71 of file OgreImGuiOverlay.h.