Add imgui example (wip)

This commit is contained in:
saschawillems 2017-03-30 19:27:57 +02:00
parent eded1560a2
commit ccfc1f1124
24 changed files with 24385 additions and 4 deletions

View file

@ -64,8 +64,6 @@ private:
// Called if the window is resized and some resources have to be recreatesd
void windowResize();
protected:
// Last frame time, measured using a high performance timer (if available)
float frameTimer = 1.0f;
// Frame counter to display fps
uint32_t frameCounter = 0;
uint32_t lastFPS = 0;
@ -136,6 +134,9 @@ public:
uint32_t width = 1280;
uint32_t height = 720;
/** @brief Last frame time measured using a high performance timer (if available) */
float frameTimer = 1.0f;
/** @brief Example settings that can be changed e.g. by command line arguments */
struct Settings {
/** @brief Activates validation layers (and message output) when set to true */