MCPcopy
hub / github.com/regl-project/regl / frame

Method frame

regl.d.ts:232–232  ·  view source on GitHub ↗

* Registers a `callback` to be called on each animation frame. * * This method integrates with `requestAnimationFrame` and context loss * events. It also calls `gl.flush` and drains several internal buffers, * so you should try to do all your rendering to the drawing buffer w

(callback: REGL.FrameCallback)

Source from the content-addressed store, hash-verified

230 * the frame callback.
231 */
232 frame(callback: REGL.FrameCallback): REGL.Cancellable;
233
234 /**
235 * Registers a handler function to be called when the associated `regl` event is fired.

Callers 15

line.jsFile · 0.80
video.jsFile · 0.80
particles.jsFile · 0.80
dynamic-resize.jsFile · 0.80
metaball.jsFile · 0.80
blur.jsFile · 0.80
cube.jsFile · 0.80
bunny.jsFile · 0.80
instance-mesh.jsFile · 0.80
envmap.jsFile · 0.80
shadow_map.jsFile · 0.80
cube-fbo.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected