Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
imgui_helpers.h File Reference
#include "ThirdParty/DearImGui.h"
#include <Common/assertion.h>
#include <Utility/TSpan.h>
#include <Math/TVector2.h>
#include <Math/TVector4.h>
#include <cstddef>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

class  ph::editor::imgui::StringCache
 

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.