docs/android/dokka/filament-android/com.google.android.filament/-swap-chain-flags/index.md
//filament-android/com.google.android.filament/SwapChainFlags
class SwapChainFlags
Flags that a SwapChain can be created with to control behavior.
| Engine |
| SwapChainFlags | [main] |
| constructor() |
| Name | Summary |
|---|---|
| CONFIG_DEFAULT | [main] |
| val CONFIG_DEFAULT: Long = 0 | |
| CONFIG_ENABLE_XCB | [main] |
| val CONFIG_ENABLE_XCB: Long = 4 | |
| Indicates that the native X11 window is an XCB window rather than an XLIB window. | |
| CONFIG_HAS_STENCIL_BUFFER | [main] |
| val CONFIG_HAS_STENCIL_BUFFER: Long = 32 | |
| Indicates that this SwapChain should allocate a stencil buffer in addition to a depth buffer. | |
| CONFIG_MSAA_4_SAMPLES | [main] |
| val CONFIG_MSAA_4_SAMPLES: Long = 128 | |
| Indicates that the SwapChain is configured to use Multi-Sample Anti-Aliasing (MSAA) with the given sample points within each pixel. | |
| CONFIG_PROTECTED_CONTENT | [main] |
| val CONFIG_PROTECTED_CONTENT: Long = 64 | |
| The SwapChain contains protected content. | |
| CONFIG_READABLE | [main] |
| val CONFIG_READABLE: Long = 2 | |
This flag indicates that the SwapChain may be used as a source surface for reading back render results. | |
| CONFIG_SRGB_COLORSPACE | [main] |
| val CONFIG_SRGB_COLORSPACE: Long = 16 | |
| Indicates that the SwapChain must automatically perform linear to sRGB encoding. | |
| CONFIG_TRANSPARENT | [main] |
| val CONFIG_TRANSPARENT: Long = 1 | |
This flag indicates that the SwapChain must be allocated with an alpha-channel. |