MainLoop Op
Trigger other ops once every frame to create smooth animations (renderer)
Summary (oneliner)
The heart-piece of every WebGL-patch, use this as first op in your patch to trigger the other ops (according to the framerate).
use Ops.Gl.Performance to see statistics about you perfomance
Edit Documentation
Full Name
- Ops.Gl.MainLoop
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
FPS Limit (Number)
Triggers according to your framerate (60 fps on 60hz screens)
Reduce FPS not focussed (Number:boolean )
Reduce FPS loading (Number:boolean )
Clear (Number:boolean )
ClearAlpha (Number:boolean )
Fullscreen Button (Number:boolean )
Show a html fullscreen button
Active (Number:boolean )
Hires Displays (Number:boolean )
Support hires/retina displays
Pixel Unit index (Number:integer )
OUTPUT PORTS
trigger (Trigger)
width (Number)
width of the canvas/renderer area
height (Number)
height of the canvas/renderer area