MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ inspect() [3/4]

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect ( const std::shared_ptr< Nodes::Node > &  node)

Open a dedicated window inspecting a single Node and its modulator tree.

Definition at line 360 of file Forma.cpp.

361{
362 const std::string title = Reflect::short_dynamic_type_name(node);
363 auto window = g_window_manager->create_window(
364 Core::WindowCreateInfo { .title = title, .width = k_inspect_w, .height = k_inspect_h });
365 window->show();
366 auto surface = create_surface(window, title);
367 LayoutCursor cursor;
368 auto result = std::make_shared<InspectResult>(g_inspect->node(node, surface, cursor));
369 g_bridge->spawn_sync(result->group.header.header_id, [result] { result->tap_all(); });
370}
std::string title
Window title/identifier.
Configuration for creating a single window instance.

References create_surface(), MayaFlux::Reflect::short_dynamic_type_name(), and MayaFlux::Core::WindowCreateInfo::title.

+ Here is the call graph for this function: