Skip to content

Function: readGpuCapabilities() ​

ts
function readGpuCapabilities(renderer): GpuCapabilities;

Experimental

Ask the renderer's context for its limits (a lost context answers null: the assumption).

Parameters ​

ParameterType
rendererPartial<Pick<WebGLRenderer, "capabilities" | "getContext">>

Returns ​

GpuCapabilities

Released under the MIT License.