|
void | _NewFrame () override |
|
void | _Begin (const char *name, bool *p_open, vc::GUIWindowFlags flags) override |
|
void | _End () override |
|
void | _Text (const char *fmt,...) override |
|
void | _TextColored (const vcm::Vec4 &col, const char *fmt,...) override |
|
void | _LabelText (const char *label, const char *fmt,...) override |
|
bool | _SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format, float power) override |
|
bool | _SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format, float power) |
|
void | _ColorEdit3 (const char *label, float col[3], vc::GUIColorEditFlags flags) override |
|
bool | _Button (const char *label, const vcm::Vec2 &size) override |
|
bool | _Checkbox (const char *label, bool *v) override |
|
void | _ProgressBar (float fraction, const vcm::Vec2 &size_arg, const char *overlay) override |
|
bool | _Selectable (const char *label, bool selected, vc::GUISelectableFlags flags, const vcm::Vec2 &size) override |
|
bool | _BeginCombo (const char *label, const char *preview_value, vc::GUIComboFlags flags) override |
|
void | _EndCombo () override |
|
void | _SetItemDefaultFocus () override |
|
void | _SameLine (float offset_from_start_x, float spacing) override |
|
void | _Render () override |
|
|
static void | SetGUIDrawCallback (GUIDrawCallback guiDrawCallback) |
|
static GUI * | Get () |
|
static void | NewFrame () |
|
static void | Begin (const char *name, bool *p_open=nullptr, GUIWindowFlags flags=0) |
|
static void | End () |
|
static void | Text (const char *fmt,...) |
|
static void | TextColored (const vcm::Vec4 &col, const char *fmt,...) |
|
static void | LabelText (const char *label, const char *fmt,...) |
|
static bool | SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f) |
|
static bool | SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", float power=1.0f) |
|
static void | ColorEdit3 (const char *label, float col[3], GUIColorEditFlags flags=0) |
|
static bool | Button (const char *label, const vcm::Vec2 &size=vcm::Vec2(0, 0)) |
|
static bool | Checkbox (const char *label, bool *v) |
|
static void | ProgressBar (float fraction, const vcm::Vec2 &size_arg=vcm::Vec2(-1, 0), const char *overlay=nullptr) |
|
static bool | Selectable (const char *label, bool selected, GUISelectableFlags flags=0, const vcm::Vec2 &size=vcm::Vec2(0, 0)) |
|
static bool | BeginCombo (const char *label, const char *preview_value, GUIComboFlags flags=0) |
|
static void | EndCombo () |
|
static void | SetItemDefaultFocus () |
|
static void | SameLine (float offset_from_start_x=0.0f, float spacing=-1.0f) |
|
static bool | HasCachedObject (const std::string &path) |
| Checks if an object is in the cache.
|
|
static SPtr< GraphicsCachedResource > | GetCachedObject (const std::string &path) |
| Gets a cached object from the graphics cache.
|
|
static const std::unordered_map< std::string, std::shared_ptr< GraphicsCachedResource > > & | GetCachedObjects () |
| Gets all cached objects.
|
|
static void | _SetInCache (const std::string &path, const SPtr< GraphicsCachedResource > &object) |
| Sets an object in the cache.
|
|
static void | _SetCacheSize (size_t size) |
| Adds cache size to avoid unnecessary additional allocations.
|
|
static void | _AddCacheSize (size_t size) |
| Adds cache size to avoid unnecessary additional allocations.
|
|
GraphicsApplication * | _app |
|