GPUCommandEncoder: copyTextureToTexture() 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.
Phương thức copyTextureToTexture() của giao diện GPUCommandEncoder mã hóa một lệnh sao chép dữ liệu từ một GPUTexture sang một texture khác.
Cú pháp
js
copyTextureToTexture(source, destination, copySize)
Thông số kỹ thuật
| Specification |
|---|
| WebGPU> # dom-gpucommandencoder-copytexturetotexture> |