Function: detectRenderingCapabilities()
detectRenderingCapabilities(
__namedParameters):RenderingCapabilities
Runs the capability detection: one cheap context to gather renderer string, WebGL level and MAX_TEXTURE_SIZE, then the texture-format probes.
Probe results are cached in localStorage keyed by renderer string, WebGL2
availability, and probe version, so repeat page loads on the same GPU skip
the probe contexts entirely. Pass useCache: false to force a fresh probe
run (also refreshes the stored cache).
Parameters
• __namedParameters = {}
• __namedParameters.useCache?: boolean = true
Returns
RenderingCapabilities