MainLoop_v2 Op

MainLoop

Trigger other ops once every frame to create smooth animations


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


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:boolean )
Transparent (Number:boolean )
Active (Number:boolean )

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