GuavaKhronosPbrMaterial

Added in 1.0.0-alpha08

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, int alphaMode)

Asynchronously creates a KhronosPbrMaterial.

Parameters
@NonNull Session session

The active Session in which to create the material.

int 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.