|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
Context for InputNode callbacks - provides input event access. More...
#include <InputNode.hpp>
Inheritance diagram for MayaFlux::Nodes::Input::InputContext:
Collaboration diagram for MayaFlux::Nodes::Input::InputContext:Public Member Functions | |
| InputContext (double value, double raw_value, Core::InputType source, uint32_t device_id) | |
Public Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| virtual | ~NodeContext ()=default |
| template<typename T > | |
| T * | as () |
| Safely cast to a derived context type. | |
Public Attributes | |
| double | raw_value |
| Unsmoothed input value. | |
| Core::InputType | source_type |
| Backend that produced this input. | |
| uint32_t | device_id |
| Source device ID. | |
Public Attributes inherited from MayaFlux::Nodes::NodeContext | |
| double | value |
| Current sample value. | |
| std::string | type_id |
| Type identifier for runtime type checking. | |
Additional Inherited Members | |
Protected Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| NodeContext (double value, std::string type) | |
| Protected constructor for NodeContext. | |
Context for InputNode callbacks - provides input event access.
Similar to GeneratorContext or TextureContext, provides node-specific information to callbacks. Contains both the smoothed output value and access to the raw input data.
Definition at line 50 of file InputNode.hpp.