MainLoop Op

MainLoop

Trigger other ops once every frame to create smooth animations (renderer)


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



 

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


Patches using MainLoop

  • Examples
  • Public
  • My Patches

Changelog


added clear alpha optionuser avatarpandur - 2019-06-16 13:23