7#include <OgreOverlay.h>
21 ImFont*
addFont(
const String& name,
const String& group OGRE_RESOURCE_GROUP_INIT,
float size_scale = 1.f);
26 static void NewFrame(
const FrameEvent& evt);
45 void updateVertexData(
const ImVector<ImDrawVert>& vtxBuf,
const ImVector<ImDrawIdx>& idxBuf);
47 bool preRender(SceneManager* sm, RenderSystem* rsys);
Real getSquaredViewDepth(const Camera *) const
const LightList & getLights(void) const
virtual void getWorldTransforms(Matrix4 *xform) const
void updateVertexData(const ImVector< ImDrawVert > &vtxBuf, const ImVector< ImDrawIdx > &idxBuf)
const MaterialPtr & getMaterial() const
bool preRender(SceneManager *sm, RenderSystem *rsys)
virtual void getRenderOperation(RenderOperation &op)
RenderOperation mRenderOp
ImGUIRenderable mRenderable
void rebuildFontTexture()
RIGSOFRODS: re-create the font texture after fonts were changed (i.e. io.Fonts->Clear() + addFont())
void _findVisibleObjects(Camera *cam, RenderQueue *queue, Viewport *vp)
static void NewFrame(const FrameEvent &evt)
std::vector< CodePointRange > mCodePointRanges
ImFont * 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...
std::vector< ImWchar > CodePointRange