EXT_disjoint_timer_query: createQueryEXT() method
Khả dụng hạn chế
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Phương thức EXT_disjoint_timer_query.createQueryEXT() của WebGL API tạo và khởi tạo các đối tượng WebGLQuery, dùng để theo dõi thời gian cần thiết để hoàn thành toàn bộ một tập lệnh GL.
Cú pháp
js
createQueryEXT()
Tham số
Không có.
Giá trị trả về
Một đối tượng WebGLQuery.
Ví dụ
js
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryExt();
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| WebGL EXT_disjoint_timer_query Extension Specification> |