EXT_disjoint_timer_query: isQueryEXT() Methode

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Die EXT_disjoint_timer_query.isQueryEXT() Methode der WebGL API gibt true zurück, wenn das übergebene Objekt ein WebGLQuery-Objekt ist.

Syntax

js
isQueryEXT(query)

Parameter

query

Ein WebGLQuery-Objekt, das überprüft werden soll.

Rückgabewert

Ein GLboolean, der angibt, ob das gegebene Objekt ein WebGLQuery-Objekt ist (true) oder nicht (false).

Beispiele

js
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryEXT();

// …

ext.isQueryEXT(query);

Spezifikationen

Specification
WebGL EXT_disjoint_timer_query Extension Specification

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
isQueryEXT

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Has more compatibility info.

Siehe auch