MayaFlux 0.4.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 380 of file ViewportPreset.cpp.

385{
386 for (const auto& buf : window->get_rendering_buffers()) {
387 auto rp = buf->get_render_processor();
388 if (!rp)
389 continue;
390 bind_screenspace_preset(window, rp, config, key_map, name);
391 }
392}
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().

+ Here is the call graph for this function: