Skip to content

1681-engine / index / gpuName

Function: gpuName() ​

ts
function gpuName(renderer, max?): string | null;

Defined in: src/diagnostics/gpuInfo.ts:19

The GPU's own name where the browser gives it (WEBGL_debug_renderer_info), else null; for telling devices apart.

Parameters ​

ParameterTypeDefault value
rendererRendererundefined
maxnumber80

Returns ​

string | null

Released under the MIT License.