com.google.android.filament.android.UiHelper.detach()

Here are the examples of the java api com.google.android.filament.android.UiHelper.detach() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Renderer.java
with Apache License 2.0
from google-ar

/**
 * @hide
 */
public void dispose() {
    // call this before destroying the Engine (it could call back)
    filamentHelper.detach();
    final IEngine engine = EngineInstance.getEngine();
    if (indirectLight != null) {
        engine.destroyIndirectLight(indirectLight);
    }
    engine.destroyRenderer(renderer);
    engine.destroyView(view);
    reclaimReleasedResources();
}