GPUConstantEntry


public final class GPUConstantEntry

Defines a key-value pair for a pipeline-overridable constant.

Summary

Public constructors

GPUConstantEntry

Added in 1.0.0-alpha06
public GPUConstantEntry(@NonNull String key, double value)

Public methods

getKey

Added in 1.0.0-alpha06
public final @NonNull String getKey()

The name of the constant.

getValue

Added in 1.0.0-alpha06
public final double getValue()

The value to override the constant with.

setKey

Added in 1.0.0-alpha06
public final void setKey(@NonNull String value)

The name of the constant.

setValue

Added in 1.0.0-alpha06
public final void setValue(double value)

The value to override the constant with.