AllocationAdapter.SetLOD(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定啟用的 LOD。
[Android.Runtime.Register("setLOD", "(I)V", "GetSetLOD_IHandler")]
public virtual void SetLOD(int lod);
[<Android.Runtime.Register("setLOD", "(I)V", "GetSetLOD_IHandler")>]
abstract member SetLOD : int -> unit
override this.SetLOD : int -> unit
參數
- lod
- Int32
LOD 要啟用。
- 屬性
備註
設定啟用的 LOD。 LOD 必須在所改裝機型的範圍內。 基礎配置必須有 mipmaps。
因為這會改變轉接器的尺寸,目前的 Y 和 Z 會被重置。
的 android.renderscript.AllocationAdapter.setLOD(int)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。