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

◆ should_detach_on_close()

bool MayaFlux::Portal::Forma::SurfaceConfig::should_detach_on_close ( ) const
inlinenoexcept

Whether the built-in detach behavior actually runs.

Definition at line 67 of file Surface.hpp.

68 {
69 return detach_on_close || static_cast<bool>(on_close);
70 }
bool detach_on_close
Whether the built-in close handling (Bridge::stop_sync plus a deferred window release,...
Definition Surface.hpp:51
std::function< void()> on_close
Runs in addition to, never instead of, the built-in close handling.
Definition Surface.hpp:64

References detach_on_close, and on_close.

Referenced by MayaFlux::Portal::Forma::Surface::Surface().

+ Here is the caller graph for this function: