File ImguiOgreRenderer.h¶
-
namespace
Gsage
-
class
ImguiOgreRenderer
: public EventSubscriber<ImguiOgreRenderer>, public Gsage::ImguiRenderer Subclassed by Gsage::ImguiRendererV1, Gsage::ImguiRendererV2
Public Functions
-
ImguiOgreRenderer
()¶
-
virtual
~ImguiOgreRenderer
()¶
-
virtual void
initialize
(Engine *facade, lua_State *L)¶ Set engine, setup lua bindings
- Parameters
engine
: Gsage CEL
: lua state
-
virtual void
createFontTexture
(unsigned char *pixels, int width, int height)¶ Create font texture in the underlying render system
- Parameters
pixels
: Raw texturewidth
: Texture widthheight
: Texture height
-
virtual void
setImguiContext
(ImGuiContext *ctx)¶ Imgui context is not shared across plugins, so pass it to renderer
- Parameters
ctx
: Context to use
-
-
class