Back to Filament

isMSAASwapChainSupported

docs/android/dokka/filament-android/com.google.android.filament/-swap-chain/is-m-s-a-a-swap-chain-supported.md

1.75.0917 B
Original Source

//filament-android/com.google.android.filament/SwapChain/isMSAASwapChainSupported

isMSAASwapChainSupported

[main]
open fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

Return whether createSwapChain supports the CONFIG_MSAA_*_SAMPLES flag. The default implementation returns false.

Return

true if CONFIG_MSAA_*_SAMPLES is supported, false otherwise.

Parameters

main

engineA reference to the filament Engine
samplesThe number of samples

See also

com.google.android.filament.SwapChainFlags*_SAMPLES