docs/android/dokka/filament-android/com.google.android.filament/-engine/-builder/index.md
//filament-android/com.google.android.filament/Engine/Builder
[main]
open class Builder
Constructs Engine objects using a builder pattern.
| Builder | [main] |
| constructor() |
| Name | Summary |
|---|---|
| backend | [main] |
| open fun backend(backend: Engine.Backend): Engine.Builder | |
| Sets the Backend for the Engine. | |
| build | [main] |
| open fun build(): Engine | |
| Creates an instance of Engine | |
| colorGrading | [main] |
| open fun colorGrading(colorGrading: ColorGrading.Builder): Engine.Builder | |
| Sets the builder used to create the default ColorGrading object. | |
| config | [main] |
| open fun config(config: Engine.Config): Engine.Builder | |
| Configure the Engine with custom parameters. | |
| feature | [main] |
| open fun feature(name: String, value: Boolean): Engine.Builder | |
| Set a feature flag value. | |
| featureLevel | [main] |
| open fun featureLevel(featureLevel: Engine.FeatureLevel): Engine.Builder | |
| Sets the initial featureLevel for the Engine. | |
| paused | [main] |
| open fun paused(paused: Boolean): Engine.Builder | |
| Sets the initial paused state of the rendering thread. | |
| sharedContext | [main] |
| open fun sharedContext(sharedContext: Any): Engine.Builder | |
| Sets a sharedContext for the Engine. |