RenderStats

How long the processor spent preparing each part of a frame, in milliseconds, smoothed.

Hand one to a surface and read it whenever you like, for example once a frame in a readout. It counts time spent on this side only: on a graphics card the drawing itself happens later, elsewhere, and is not seen here.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The sharp layer drawn over the echoes.

Link copied to clipboard

The full-screen ground under the drawing.

Link copied to clipboard
var post: Float

The finishing pass: glow, fringes, corners and grain.

Link copied to clipboard

How much of the canvas the feedback buffers cover at the moment, 0 to 1.

Link copied to clipboard

Drawing the picture itself.

Link copied to clipboard
var warp: Float

Bending and fading the previous frame, for drawings with a trail.