MainLoop_v2 Op

MainLoop

Trigger other ops once every frame to create smooth animations


<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
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


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

  • Examples
  • Public
  • My Patches

Changelog


featureNew version: Max pixel density / DPR to have better control over rendering on HDPI/retina screens, cleanupuser avatarpandur - 2024-04-17 13:48