GPUTexture:width 属性
注意:此功能在 Web Workers 中可用。
GPUTexture 接口的 **width** 只读属性表示 GPUTexture 的宽度。
此属性是根据在最初的 GPUDevice.createTexture() 调用中传入的描述符对象中的 size 属性值设置的。
注意:此功能在 Web Workers 中可用。
GPUTexture 接口的 **width** 只读属性表示 GPUTexture 的宽度。
此属性是根据在最初的 GPUDevice.createTexture() 调用中传入的描述符对象中的 size 属性值设置的。