GPUTexture:mipLevelCount 属性
注意:此功能在 Web Workers 中可用。
mipLevelCount 是 GPUTexture 接口的一个只读属性,它表示 GPUTexture 的 mip 级别数。
此属性通过传入 GPUDevice.createTexture() 调用的描述符对象中的 mipLevelCount 属性进行设置。如果省略,则默认为 1。
注意:此功能在 Web Workers 中可用。
mipLevelCount 是 GPUTexture 接口的一个只读属性,它表示 GPUTexture 的 mip 级别数。
此属性通过传入 GPUDevice.createTexture() 调用的描述符对象中的 mipLevelCount 属性进行设置。如果省略,则默认为 1。