popRenderable

actual fun popRenderable(): Entity

Pops a ready renderable off the async-load queue, or returns 0 if none is ready.

Allows progressive reveal: add renderables to the scene as their textures become ready during ResourceLoader.asyncBeginLoad, e.g. while ((e = popRenderable()) != 0) scene.addEntity(e). Use ResourceLoader.asyncGetLoadProgress for the overall progress. Progressive reveal is not supported for dynamically added instances.

expect fun popRenderable(): Entity

Pops a ready renderable off the async-load queue, or returns 0 if none is ready.

Allows progressive reveal: add renderables to the scene as their textures become ready during ResourceLoader.asyncBeginLoad, e.g. while ((e = popRenderable()) != 0) scene.addEntity(e). Use ResourceLoader.asyncGetLoadProgress for the overall progress. Progressive reveal is not supported for dynamically added instances.

actual fun popRenderable(): Entity

Pops a ready renderable off the async-load queue, or returns 0 if none is ready.

Allows progressive reveal: add renderables to the scene as their textures become ready during ResourceLoader.asyncBeginLoad, e.g. while ((e = popRenderable()) != 0) scene.addEntity(e). Use ResourceLoader.asyncGetLoadProgress for the overall progress. Progressive reveal is not supported for dynamically added instances.

actual fun popRenderable(): Entity

Pops a ready renderable off the async-load queue, or returns 0 if none is ready.

Allows progressive reveal: add renderables to the scene as their textures become ready during ResourceLoader.asyncBeginLoad, e.g. while ((e = popRenderable()) != 0) scene.addEntity(e). Use ResourceLoader.asyncGetLoadProgress for the overall progress. Progressive reveal is not supported for dynamically added instances.

actual fun popRenderable(): Entity

Pops a ready renderable off the async-load queue, or returns 0 if none is ready.

Allows progressive reveal: add renderables to the scene as their textures become ready during ResourceLoader.asyncBeginLoad, e.g. while ((e = popRenderable()) != 0) scene.addEntity(e). Use ResourceLoader.asyncGetLoadProgress for the overall progress. Progressive reveal is not supported for dynamically added instances.