MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
ViewportPreset.hpp File Reference
+ Include dependency graph for ViewportPreset.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Buffers
 
namespace  MayaFlux::Core
 

Typedefs

using MayaFlux::ViewportPresetConfig = Kinesis::NavigationConfig
 Alias for backwards compatibility; prefer Kinesis::NavigationConfig in new code.
 

Enumerations

enum class  MayaFlux::ViewportPresetMode : uint8_t { MayaFlux::Fly }
 Selects which navigation controller bind_viewport_preset installs. More...
 

Functions

void MayaFlux::bind_viewport_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, ViewportPresetMode mode=ViewportPresetMode::Fly, const ViewportPresetConfig &config={}, const std::string &name="default")
 Bind a navigation preset to a window and render processor.
 
void MayaFlux::bind_viewport_preset (const std::shared_ptr< Core::Window > &window, ViewportPresetMode mode=ViewportPresetMode::Fly, const ViewportPresetConfig &config={}, const std::string &name="default")
 Bind a navigation preset to all RenderProcessors currently registered against a window.
 
void MayaFlux::unbind_viewport_preset (const std::shared_ptr< Core::Window > &window, const std::string &name="default")
 Cancel all event handlers registered by bind_viewport_preset() and restore the window input config to its state before bind was called.