|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Surface MayaFlux::Portal::Forma::create_surface | ( | SurfaceConfig | config | ) |
Construct a Surface from a SurfaceConfig.
When config.layer/ unset, builds a fresh Layer and a Context wired to config.ctx areconfig.window using the EventManager stored by Portal::Forma::initialize, from config.name. Set config.layer/ config.ctx yourself for the power-tinkerer case (custom Context subclass, shared Layer across multiple Contexts, etc.) - config.name is ignored when both are already set.
| config | Window, name, optional pre-built Layer/Context, and close-handling behavior. |
Definition at line 85 of file Forma.cpp.
References MayaFlux::Portal::Forma::internal::atelier(), and MayaFlux::Portal::Forma::internal::Atelier::create_surface().
Here is the call graph for this function: