Builder
Factory class for ModelRenderable.
Functions
Link copied to clipboard
fun <T : Renderable, B : Renderable.Builder<T, B>> Renderable.Builder<T, B>.asDeferred(engine: Engine): Deferred<T>
Deferred renderable loading is a non-blocking cancellable future.
Link copied to clipboard
suspend fun <T : Renderable, B : Renderable.Builder<T, B>> Renderable.Builder<T, B>.await(engine: Engine): T
Awaits for loading a Renderable with the parameters of the builder without blocking a thread.
Link copied to clipboard
Constructs a Renderable with the parameters of the builder.
Link copied to clipboard
suspend fun <T : Renderable, B : Renderable.Builder<T, B>> Renderable.Builder<T, B>.build(engine: Engine, coroutineScope: LifecycleCoroutineScope)
Load a Renderable in a coroutine scope without blocking a thread.
Link copied to clipboard
Sets the number of frames per seconds defined in the asset.
Link copied to clipboard
Enable textures async loading after first rendering.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Build a Renderable from a RenderableDefinition.