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

◆ bind_screenspace_preset() [1/2]

MAYAFLUX_API void MayaFlux::bind_screenspace_preset ( const std::shared_ptr< Core::Window > &  window,
const Kinesis::NavigationConfig &  config = {},
const Kinesis::ScreenspaceKeyMap &  key_map = {},
const std::string &  name = "default" 
)

Bind the screenspace navigation controller to all RenderProcessors currently registered against a window.

Parameters
windowWindow supplying input events
configCamera tuning parameters
key_mapInput assignments
namePreset name forwarded to the per-processor overload

Definition at line 381 of file ViewportPreset.cpp.

386{
387 for (const auto& buf : window->get_rendering_buffers()) {
388 auto rp = buf->get_render_processor();
389 if (!rp)
390 continue;
391 bind_screenspace_preset(window, rp, config, key_map, name);
392 }
393}
std::weak_ptr< Core::Window > window
Definition Picker.cpp:23
std::string name
Definition VKDevice.cpp:123
void bind_screenspace_preset(const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const Kinesis::NavigationConfig &config, const Kinesis::ScreenspaceKeyMap &key_map, const std::string &name)
Bind the screenspace navigation controller to a window and render processor.

References bind_screenspace_preset(), name, and window.

+ Here is the call graph for this function: