GPUConstantEntry


public final class GPUConstantEntry


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

Summary

Public constructors

GPUConstantEntry(@NonNull String key, double value)

Public methods

final @NonNull String

The name of the constant.

final double

The value to override the constant with.

final void

The name of the constant.

final void
setValue(double value)

The value to override the constant with.

Public constructors

GPUConstantEntry

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

Public methods

getKey

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

The name of the constant.

getValue

Added in 1.0.0-alpha04
public final double getValue()

The value to override the constant with.

setKey

Added in 1.0.0-alpha04
public final void setKey(@NonNull String key)

The name of the constant.

setValue

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

The value to override the constant with.