Back to Filament

isTextureFormatSupported

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

1.75.0839 B
Original Source

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

isTextureFormatSupported

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

Checks whether a given format is supported for texturing 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