MainLoop_v2 Op
Trigger other ops once every frame to create smooth animations
Summary (oneliner)
<p>The heart-piece of every WebGL-patch, use this as first op in your patch to trigger the other ops (according to the framerate).</p> <p>use <a href="/op/Ops.Gl.Performance">Ops.Gl.Performance</a> to see statistics about you perfomance</p>
Full Name
- Ops.Gl.MainLoop_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Mainloop example
INPUT PORTS
Max Pixel Density (DPR) (Number)
FPS Limit (Number)
Reduce FPS unfocussed (Number:
<i>boolean</i>
)Transparent (Number:
<i>boolean</i>
)Active (Number:
<i>boolean</i>
)OUTPUT PORTS
trigger (Trigger)
width (Number)
height (Number)
Pixel Density (Number)
Patches using MainLoop_v2
Changelog
feature | New version: Max pixel density / DPR to have better control over rendering on HDPI/retina screens, cleanup | pandur - 2024-04-17 13:48 |