Back to Filament

VertexAttribute

docs/android/dokka/filament-android/com.google.android.filament/-vertex-buffer/-vertex-attribute/index.md

1.75.02.3 KB
Original Source

//filament-android/com.google.android.filament/VertexBuffer/VertexAttribute

VertexAttribute

[main]
enum VertexAttribute

Entries

POSITION[main]
POSITION
TANGENTS[main]
TANGENTS
COLOR[main]
COLOR
UV0[main]
UV0
UV1[main]
UV1
BONE_INDICES[main]
BONE_INDICES
BONE_WEIGHTS[main]
BONE_WEIGHTS
UNUSED[main]
UNUSED
CUSTOM0[main]
CUSTOM0
CUSTOM1[main]
CUSTOM1
CUSTOM2[main]
CUSTOM2
CUSTOM3[main]
CUSTOM3
CUSTOM4[main]
CUSTOM4
CUSTOM5[main]
CUSTOM5
CUSTOM6[main]
CUSTOM6
CUSTOM7[main]
CUSTOM7

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): VertexBuffer.VertexAttribute
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<VertexBuffer.VertexAttribute>
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.