Skip to content

Documentation / device / FrameInfo

Interface: FrameInfo

Defined in: libs/device/src/base_types.ts:2114

Frame information

Properties

frameCounter

frameCounter: number

Defined in: libs/device/src/base_types.ts:2116

counter of frames


frameTimestamp

frameTimestamp: number

Defined in: libs/device/src/base_types.ts:2118

timestamp of current frame, in milliseconds


elapsedTimeCPU

elapsedTimeCPU: number

Defined in: libs/device/src/base_types.ts:2120

time spent by the CPU from last frame, in milliseconds


elapsedTimeGPU

elapsedTimeGPU: number

Defined in: libs/device/src/base_types.ts:2122

time spent by the GPU from last frame, in milliseconds


elapsedFrame

elapsedFrame: number

Defined in: libs/device/src/base_types.ts:2124

time spent from last frame, in milliseconds


elapsedOverall

elapsedOverall: number

Defined in: libs/device/src/base_types.ts:2126

time spent from the first frame, in milliseconds


FPS

FPS: number

Defined in: libs/device/src/base_types.ts:2128

the FPS calculated for the last one second


drawCalls

drawCalls: number

Defined in: libs/device/src/base_types.ts:2130

How many draw calls were sent to the GPU in current frame


computeCalls

computeCalls: number

Defined in: libs/device/src/base_types.ts:2132

How many compute calls were sent to the GPU in current frame

Released under the MIT License.