GPUCommandEncoder: finish() method
Limited availability
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.
Note: This feature is available in Web Workers.
Phương thức finish() của giao diện GPUCommandEncoder hoàn tất việc ghi lệnh và trả về một GPUCommandBuffer.
Cú pháp
js
finish()
finish(descriptor)
Thông số kỹ thuật
| Specification |
|---|
| WebGPU> # dom-gpucommandencoder-finish> |