Renderer · interface

TemporalPixel

What a pixel carries between frames. The caller owns one per pixel.

Explained in Hello world.

interface TemporalPixel
import type { TemporalPixel } from '@driftengine/core';

Properties

NameTypeDescription
valuereadonlyFloat32ArrayThe accumulated answer.
samplesnumberHow many frames have contributed since the last disocclusion.