GPUCommandEncoder: insertDebugMarker() 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 insertDebugMarker() chèn một dấu debug vào chuỗi lệnh đã mã hóa.
Cú pháp
js
insertDebugMarker(markerLabel)
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| WebGPU> # dom-gpudebugcommandsmixin-insertdebugmarker> |