GuavaKhronosPbrMaterial

Added in 1.0.0-alpha09

public final class GuavaKhronosPbrMaterial


Summary

Public methods

static final @NonNull ListenableFuture<@NonNull KhronosPbrMaterial>

Asynchronously creates a KhronosPbrMaterial.

Public methods

createKhronosPbrMaterialAsync

@MainThread
public static final @NonNull ListenableFuture<@NonNull KhronosPbrMaterialcreateKhronosPbrMaterialAsync(
    @NonNull Session session,
    @NonNull AlphaMode alphaMode
)

Asynchronously creates a KhronosPbrMaterial.

Parameters
@NonNull Session session

The active Session in which to create the material.

@NonNull AlphaMode alphaMode

The AlphaMode to use for the material.

Returns
@NonNull ListenableFuture<@NonNull KhronosPbrMaterial>

a ListenableFuture. Listeners will be called on the main thread if Runnable::run is supplied when adding a listener to the ListenableFuture.