beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
MainLoop
Ops.Gl.MainLoop
Namespace: Ops.Gl
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

doc

issues

youtube id

collections

related ops

Inputs

FPS Limit (Number)

Triggers according to your framerate (60 fps on 60hz screens)


Reduce FPS loading (boolean Number)

Clear (boolean Number)

ClearAlpha (boolean Number)

Fullscreen Button (boolean Number)

Show a html fullscreen button


Active (boolean Number)

Hires Displays (boolean Number)

Support hires/retina displays


Outputs

trigger (Trigger)

width (Number)

width of the canvas/renderer area


height (Number)

height of the canvas/renderer area


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Changelog


added clear alpha option
2019-06-16 - pandur

Examples using MainLoop

Public Patches using MainLoop