Back to Filament

build

docs/android/dokka/filament-android/com.google.android.filament/-indirect-light/-builder/build.md

1.75.0890 B
Original Source

//filament-android/com.google.android.filament/IndirectLight/Builder/build

build

[main]
open fun build(engine: Engine): IndirectLight

Creates the IndirectLight object and returns a pointer to it.

Return

A newly created IndirectLight

Parameters

main

engineThe Engine to associate this IndirectLight with.

Throws

IllegalStateExceptionif a parameter to a builder function was invalid.
RuntimeExceptionif a runtime error occurred, such as running out of memory or other resources.