Texture.Sampler

公開靜態類別 Texture.Sampler

控制在轉譯時用於紋理紋理的設定。

巢狀類別

類別 Texture.Sampler.Builder 建構 Sampler 物件的建構工具。
列舉 Texture.Sampler.MagFilter 放大篩選器功能的選項。
列舉 Texture.Sampler.MinFilter 壓縮篩選器功能的選項。
列舉 Texture.Sampler.WrapMode 換行模式函式的選項。

公用方法

靜態 Texture.Sampler.Builder
Texture.Sampler.MagFilter
getMagFilter()
每當詳細資料層級函式判定紋理應放大時,即可使用放大功能。
Texture.Sampler.MinFilter
getMinFilter()
每當細節層級判定紋理應縮小時,取得使用的壓縮函式。
Texture.Sampler.WrapMode
getWrapModeR()
取得紋理座標 R 的包裝模式。
Texture.Sampler.WrapMode
getWrapModeS()
取得紋理座標 S 的包裝模式。
Texture.Sampler.WrapMode
getWrapModeT()
取得紋理座標 T 的納入模式。

沿用的方法

公用方法

公開靜態 Texture.Sampler.Builder 建構工具 ()

public Texture.Sampler.MagFilter getMagFilter ()

每當詳細資料層級函式判定紋理應放大時,即可使用放大功能。

public Texture.Sampler.MinFilter getMinFilter ()

每當詳細資料詳細函式判定紋理應縮小時,取得使用的壓縮函式。

public Texture.Sampler.WrapMode getWrapModeR ()

取得紋理座標 R 的包裝模式。包裝模式會決定在 [0, 1] 範圍外的 uv 座標算繪紋理的方式。

public Texture.Sampler.WrapMode getWrapModeS ()

取得紋理座標 S 的包裝模式。包裝模式會決定在 [0, 1] 範圍外的 uv 座標算繪紋理的方式。

public Texture.Sampler.WrapMode getWrapModeT ()

取得紋理座標 T 的納入模式。包裝模式會決定在 [0, 1] 範圍外的 uv 座標算繪紋理的方式。