Back to Filament

setAnisotropy

docs/android/dokka/filament-android/com.google.android.filament/-texture-sampler/set-anisotropy.md

1.75.0519 B
Original Source

//filament-android/com.google.android.filament/TextureSampler/setAnisotropy

setAnisotropy

[main]
open fun setAnisotropy(anisotropy: Float)

This controls anisotropic filtering.

Parameters

main

anisotropyAmount of anisotropy, should be a power-of-two. The default is 1. The maximum permissible value is 128.