Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
imgui_helpers.cpp File Reference
#include "Render/Imgui/Utility/imgui_helpers.h"
#include "Render/Imgui/Font/imgui_icons.h"
#include <algorithm>

Namespaces

namespace  ph
 
namespace  ph::editor
 
namespace  ph::editor::imgui
 

Functions

void ph::editor::imgui::text_unformatted (std::string_view text)
 
void ph::editor::imgui::image_with_fallback (ImTextureID textureID, const math::Vector2F &sizePx, const math::Vector4F &tintColorRGBA, const math::Vector4F &borderColorRGBA)
 
bool ph::editor::imgui::image_button_with_fallback (const char *strId, ImTextureID textureID, const math::Vector2F &sizePx, const math::Vector4F &backgroundColorRGBA, const math::Vector4F &tintColorRGBA)
 
void ph::editor::imgui::copy_to (TSpan< char > dstBuffer, std::string_view srcStr)
 Copy string to a buffer. The result is always null-terminated.