Back to Filament

isTextureFormatMipmappable

docs/android/dokka/filament-android/com.google.android.filament/-texture/is-texture-format-mipmappable.md

1.75.0858 B
Original Source

//filament-android/com.google.android.filament/Texture/isTextureFormatMipmappable

isTextureFormatMipmappable

[main]
open fun isTextureFormatMipmappable(engine: Engine, format: Texture.InternalFormat): Boolean

Checks whether a given texture format is supported for mipmapping in this Engine. This depends on the selected backend.

Return

true if this format is supported for texturing.

Parameters

main

engineEngine to test the InternalFormat against
formatformat to check