Skip to main content

Class: WebGlInfo

Constructors

new WebGlInfo()

new WebGlInfo(): WebGlInfo

Returns

WebGlInfo

Methods

dispose()

static dispose(): void

Removes the temporary canvas that was created to get WebGL information.

Returns

void

Source

WebGlInfo.ts:40


getRendererString()

static getRendererString(): string

Returns graphics driver vendor and renderer information.

Returns

string

string

Remarks

Information is from parameters UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL when asking for WEBGL_debug_renderer_info from the WebGLRenderingContext.

Source

WebGlInfo.ts:12