GPUCommandEncoder: resolveQuerySet() 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.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Phương thức resolveQuerySet() mã hóa một lệnh phân giải một GPUQuerySet và sao chép kết quả vào một GPUBuffer.

Cú pháp

js
resolveQuerySet(querySet, firstQuery, queryCount, destination, destinationOffset)

Thông số kỹ thuật

Thông số kỹ thuật
WebGPU
# dom-gpucommandencoder-resolvequeryset

Tương thích trình duyệt