Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Ogre::ImguiManager Class Reference

#include <ogre2_imgui_manager.h>

+ Inheritance diagram for Ogre::ImguiManager:
+ Collaboration diagram for Ogre::ImguiManager:

Classes

class  ImGUIRenderable
 

Public Member Functions

 ImguiManager ()
 
 ~ImguiManager ()
 
ImFontaddFont (const String &name, const String &group OGRE_RESOURCE_GROUP_INIT)
 add font from ogre .fontdef file must be called before init() More...
 
virtual void init (Ogre::SceneManager *mgr)
 
virtual void newFrame (float deltaTime, const Ogre::Rect &windowRect)
 
virtual void renderQueueEnded (uint8 queueGroupId, const String &invocation, bool &repeatThisInvocation)
 
OgreBites::InputListener * getInputListener ()
 

Static Public Member Functions

static void createSingleton ()
 
static ImguiManagergetSingleton (void)
 
static ImguiManagergetSingletonPtr (void)
 

Protected Types

typedef std::vector< ImWcharCodePointRange
 

Protected Member Functions

void createFontTexture ()
 
void createMaterial ()
 

Protected Attributes

SceneManager * mSceneMgr
 
ImGUIRenderable mRenderable
 
TexturePtr mFontTex
 
bool mFrameEnded
 
std::vector< CodePointRangemCodePointRanges
 

Member Typedef Documentation

◆ CodePointRange

typedef std::vector<ImWchar> Ogre::ImguiManager::CodePointRange
protected

Constructor & Destructor Documentation

◆ ImguiManager()

ImguiManager::ImguiManager ( )
+ Here is the call graph for this function:

◆ ~ImguiManager()

ImguiManager::~ImguiManager ( )
+ Here is the call graph for this function:

Member Function Documentation

◆ addFont()

ImFont * ImguiManager::addFont ( const String &  name,
const String &group  OGRE_RESOURCE_GROUP_INIT 
)

add font from ogre .fontdef file must be called before init()

+ Here is the call graph for this function:

◆ createFontTexture()

void ImguiManager::createFontTexture ( )
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createMaterial()

void ImguiManager::createMaterial ( )
protected
+ Here is the caller graph for this function:

◆ createSingleton()

void ImguiManager::createSingleton ( )
static

◆ getInputListener()

OgreBites::InputListener * ImguiManager::getInputListener ( )

◆ getSingleton()

ImguiManager & ImguiManager::getSingleton ( void  )
static

◆ getSingletonPtr()

ImguiManager * ImguiManager::getSingletonPtr ( void  )
static

◆ init()

void ImguiManager::init ( Ogre::SceneManager *  mgr)
virtual
+ Here is the call graph for this function:

◆ newFrame()

void ImguiManager::newFrame ( float  deltaTime,
const Ogre::Rect &  windowRect 
)
virtual
+ Here is the call graph for this function:

◆ renderQueueEnded()

void ImguiManager::renderQueueEnded ( uint8  queueGroupId,
const String &  invocation,
bool &  repeatThisInvocation 
)
virtual

Adopted from https://bitbucket.org/ChaosCreator/imgui-ogre2.1-binding ... Commentary on OGRE forums: http://www.ogre3d.org/forums/viewtopic.php?f=5&t=89081#p531059

+ Here is the call graph for this function:

Member Data Documentation

◆ mCodePointRanges

std::vector<CodePointRange> Ogre::ImguiManager::mCodePointRanges
protected

◆ mFontTex

TexturePtr Ogre::ImguiManager::mFontTex
protected

◆ mFrameEnded

bool Ogre::ImguiManager::mFrameEnded
protected

◆ mRenderable

ImGUIRenderable Ogre::ImguiManager::mRenderable
protected

◆ mSceneMgr

SceneManager* Ogre::ImguiManager::mSceneMgr
protected

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