Magnum/ImGuiIntegration/Widgets.h file

Function Magnum::ImGuiIntegration::image(), Magnum::ImGuiIntegration::imageButton()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::ImGuiIntegration
Integration with Dear ImGui.

Functions

void image(GL::Texture2D& texture, const Vector2& size, const Range2D& uvRange = {{}, Vector2{1.0f}}, const Color4& tintColor = Color4{1.0f}, const Color4& borderColor = {})
Image widget displaying a GL::Texture2D.
auto imageButton(GL::Texture2D& texture, const Vector2& size, const Range2D& uvRange = {{}, Vector2{1.0f}}, Int framePadding = -1, const Color4& backgroundColor = {}, const Color4& tintColor = Color4{1.0f}) -> bool
ImageButton widget displaying a GL::Texture2D.