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

◆ inspect() [1/4]

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect ( const std::shared_ptr< Buffers::Buffer > &  buf)

Open a dedicated window inspecting a single Buffer and its processing chain.

Definition at line 372 of file Forma.cpp.

373{
374 const std::string title = Reflect::short_dynamic_type_name(buf);
375 auto window = g_window_manager->create_window(
376 Core::WindowCreateInfo { .title = title, .width = k_inspect_w, .height = k_inspect_h });
377 window->show();
378 auto surface = create_surface(window, title);
379 LayoutCursor cursor;
380 auto result = std::make_shared<InspectResult>(g_inspect->buffer(buf, surface, cursor));
381 g_bridge->spawn_sync(result->group.header.header_id, [result] { result->tap_all(); });
382}
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: