-
Notifications
You must be signed in to change notification settings - Fork 1
Module: rendering::CurrentFrameInterface
Jovan Gerodetti edited this page Apr 14, 2021
·
4 revisions
exported: default
kind: object
declaration: const
An abstract representation of the currently rendering frame
Type: number
kind: value
Type: number
kind: value
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