Skip to main content

Interface: StoredRenderingCapabilities

The record of one renderer, in the store of the rendering capabilities.

textureBytes and gpuBytes both count the GPU bytes of the page (see gpuMemoryLedger), because a page cannot read the GPU memory of the browser. They differ in the failure: textureBytes records a WebGL context loss, and gpuBytes records a tab or GPU process that stopped.

Properties​

edge​

edge: object

failed?​

optional failed: RenderingCapabilityFailure

reliable?​

optional reliable: RenderingCapabilitySuccess

searchedFrom?​

optional searchedFrom: number

The edge at which the last search started. A search below a configured maxTextureEdge tests no larger edge, so a larger cap later searches again. undefined counts as a search from 2048.

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:204


formats?​

optional formats: TextureFormatSupport

The data types, or undefined until the probe runs.

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:200


gpuBytes​

gpuBytes: RenderingCapabilityMemory

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:215


max3DTextureSize?​

optional max3DTextureSize: number

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:201


memoryLimit?​

optional memoryLimit: GpuMemoryUserLimit

The memory limit that the user chose, as an earlier version stored it. The limit now has its own key (see getStoredGpuMemoryLimit), and a record that still holds it is read until the user sets or resets it.

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:221


probeMs?​

optional probeMs: number

The time of the last full probe, in milliseconds.

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:203


probeVersion​

probeVersion: number

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:197


recoveredPending?​

optional recoveredPending: string[]

The ids of the last crash records that the record holds (see recoverPendingAllocations), so a start confirms its own crash, and a record that a refused removal leaves counts once.

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:227


renderer​

renderer: string

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:198


textureBytes​

textureBytes: RenderingCapabilityMemory

Defined in​

packages/core/src/utilities/renderingCapabilities.ts:214