Optional Readonly__Optionalflip是否Y轴翻转图片。
注:WebGL(先翻转,再拷贝)与WebGPU(先拷贝,再翻转)处理方式不一样。此次已WebGL为准。当拷贝全图时,效果一致。
图片资源。
Optionalimage读取图片上的像素坐标。
Optionalmip写入纹理的mipmap层级索引。
Optionalpremultiplied是否需要预乘透明度。
OptionalsizeExtents of the content to write from source to destination.
写入尺寸。
OptionaltextureDefines the origin of the copy - the minimum corner of the texture sub-region to copy to/from.
Together with copySize, defines the full copy sub-region.
写入纹理的位置。
数据类型。