Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / ResourceStats

Class: ResourceStats

Constructors

new ResourceStats()

new ResourceStats(): ResourceStats

Returns

ResourceStats

Defined in

packages/charm/src/helpers/resourceStats.ts:40

Accessors

gpuFrameStats

get gpuFrameStats(): GPUFrameStats

Returns

GPUFrameStats

Defined in

packages/charm/src/helpers/resourceStats.ts:36


gpuResourceStats

get gpuResourceStats(): GPUResourceStats

Returns

GPUResourceStats

Defined in

packages/charm/src/helpers/resourceStats.ts:32


isSupported

get isSupported(): boolean

Returns

boolean

Defined in

packages/charm/src/helpers/resourceStats.ts:15

Methods

resetFrameStats()

resetFrameStats(): void

Returns

void

Defined in

packages/charm/src/helpers/resourceStats.ts:106


resetGpuResourceStats()

resetGpuResourceStats(): void

Returns

void

Defined in

packages/charm/src/helpers/resourceStats.ts:101