GPUTexture:mipLevelCount 屬性
注意:此功能在 Web Workers 中可用。
mipLevelCount 是 GPUTexture 介面的一個只讀屬性,它表示 GPUTexture 的 mip 級別數。
此屬性透過傳入 GPUDevice.createTexture() 呼叫的描述符物件中的 mipLevelCount 屬性進行設定。如果省略,則預設為 1。
注意:此功能在 Web Workers 中可用。
mipLevelCount 是 GPUTexture 介面的一個只讀屬性,它表示 GPUTexture 的 mip 級別數。
此屬性透過傳入 GPUDevice.createTexture() 呼叫的描述符物件中的 mipLevelCount 屬性進行設定。如果省略,則預設為 1。