Firefox Tomorrow

webgl extension method

EXT_disjoint_timer_query: isQueryEXT() method

View on MDN ↗

The EXT_disjoint_timer_query.isQueryEXT() method of the WebGL API returns true if the passed object is a WebGLQuery object.

Syntax

isQueryEXT(query)

Parameters

Return value

A GLboolean indicating whether the given object is a WebGLQuery object (true) or not (false).

Examples

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

// …

ext.isQueryEXT(query);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also