Skip to main content

Function: retestRenderingCapabilities()

retestRenderingCapabilities(options): void

Clears the failures of the selected categories. A retest is the one way to try a failed edge again, and the application decides when to offer it.

  • edge: the next render runs the edge search again, in the context of a viewport, from the start edge (see edgeSearchOptions), and its result replaces the reliable edge. The reliable edge applies until then.
  • textureBytes, gpuBytes: the recorded failures go. The memory limit does not change, because the record never sets it.
  • formats: the next detection probes the data types again. Decisions that init() already took from the formats (for example useCPURendering or the use of norm16) do not change until the next load.

Cornerstone3D shows no prompt.

Parameters​

• options: RetestRenderingCapabilitiesOptions = {}

the categories to clear; none stated clears all

Returns​

void

Defined in​

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