|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
CPU mirror of the injected TimeConstants block (std140). More...
#include <FrameConstants.hpp>
Public Attributes | |
| glm::vec4 | time {0.0f} |
| glm::vec4 | viewport {0.0f} |
| glm::vec4 | quality {0.0f} |
CPU mirror of the injected TimeConstants block (std140).
u_time = (elapsed s, delta s, view exposure EV, 0); u_viewport = (w, h, 1/w, 1/h) of the canvas in pixels. Engine-owned: ShaderParser injects the block into every assembled stage — shaders never declare it.
Definition at line 94 of file FrameConstants.hpp.
| glm::vec4 esengine::TimeConstants::quality {0.0f} |
Definition at line 97 of file FrameConstants.hpp.
| glm::vec4 esengine::TimeConstants::time {0.0f} |
Definition at line 95 of file FrameConstants.hpp.
| glm::vec4 esengine::TimeConstants::viewport {0.0f} |
Definition at line 96 of file FrameConstants.hpp.