|
Toast Engine
|
Per-frame context passed down to triggers and modifiers during evaluation. More...
#include <value.hpp>
Public Attributes | |
| float | delta = 0.0f |
| frame delta time in seconds; currently always zero, see input system | |
| ModifierKey | mods = ModifierKey::none |
| keyboard modifier keys held this frame | |
| glm::vec2 | viewport_size {0.0f, 0.0f} |
| size of the active viewport in pixels, for cursor NDC conversion | |
| glm::vec2 | viewport_pos {0.0f, 0.0f} |
| top-left of the active viewport in pixels | |
Per-frame context passed down to triggers and modifiers during evaluation.