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
Loading…