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

◆ create_surface() [1/2]

Surface MayaFlux::Portal::Forma::internal::Atelier::create_surface ( const Core::WindowCreateInfo &  window_info,
std::string  name 
)

Build a window through create_window, then a Surface on it.

One step further back than create_surface(SurfaceConfig): for when there is no window yet either. Uses default close-handling behavior (SurfaceConfig::detach_on_close true, no on_close). Call create_surface(SurfaceConfig) directly instead when that needs configuring.

Definition at line 175 of file Atelier.cpp.

176{
177 return create_surface(SurfaceConfig {
178 .window = create_window(window_info),
179 .name = std::move(name),
180 });
181}
std::string name
Definition VKDevice.cpp:123
Surface create_surface(SurfaceConfig config)
Build a Surface from a SurfaceConfig, creating Layer and Context when config.layer/config....
Definition Atelier.cpp:160
std::shared_ptr< Core::Window > create_window(const Core::WindowCreateInfo &info)
Create a window through the stored WindowManager and show it.
Definition Atelier.cpp:104

References create_surface(), create_window(), name, and MayaFlux::Portal::Forma::SurfaceConfig::window.

+ Here is the call graph for this function: