Back to Filament

Interpolation

docs/android/dokka/filament-android/com.google.android.filament/-material/-interpolation/index.md

1.75.01.5 KB
Original Source

//filament-android/com.google.android.filament/Material/Interpolation

Interpolation

enum Interpolation

Attribute interpolation types in the fragment shader

See also

<a href="https://google.github.io/filament/Materials.html#materialdefinitions/materialblock/vertexandattributes:interpolation">Vertex and attributes: interpolation

Entries

SMOOTH[main]
SMOOTH
Default, smooth interpolation
FLAT[main]
FLAT
Flat interpolation

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): Material.Interpolation
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[main]
open fun values(): Array<Material.Interpolation>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.