Skip to content

Module: rendering::CurrentFrameInterface

Jovan Gerodetti edited this page Apr 14, 2021 · 4 revisions

CurrentFrameInterface

exported: default
kind: object
declaration: const

An abstract representation of the currently rendering frame

Properties

🚫 _startTime

Type: number
kind: value

🚫 _maxFrameDuration

Type: number
kind: value

INTERUPT_CURRENT_TASK

Methods

constructor(config, config.startTime, config.maxFrameDuration) => {CurrentFrameInterface}

kind: function

Name Type Description
config object
config.startTime number the time the current frame has started rendering
config.maxFrameDuration number the maximum duration

ttl() => {number}

kind: function

the remaining available render time of the frame

Clone this wiki locally