beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MainLoop Op

Ops.Gl.MainLoop


MainLoop
Namespace: Ops.Gl

Op author: pandur

Uses cables by undefined development
Uses glmatrix by toji
Test Patches: 69 Tests

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



Inputs

FPS Limit (Number)

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

Reduce FPS not focussed (boolean /Number)
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

Pixel Unit index (integer /Number)

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 Documentation 

Patches using MainLoop

Changelog


added clear alpha option
2019-06-16 - pandur