GPUVertexFormat¶
=== "common"
Selects the scalar type, component count, and layout of a vertex attribute.
=== "commonNative"
Selects the scalar type, component count, and layout of a vertex attribute.
=== "web"
Selects the scalar type, component count, and layout of a vertex attribute.
expect enum GPUVertexFormat : Enum<GPUVertexFormat>
actual enum GPUVertexFormat : Enum<GPUVertexFormat>
actual enum GPUVertexFormat : Enum<GPUVertexFormat>
Entries¶
Uint8¶
Uint8x2¶
Uint8x4¶
Sint8¶
Sint8x2¶
Sint8x4¶
Unorm8¶
Unorm8x2¶
Unorm8x4¶
Snorm8¶
Snorm8x2¶
Snorm8x4¶
Uint16¶
Uint16x2¶
Uint16x4¶
Sint16¶
Sint16x2¶
Sint16x4¶
Unorm16¶
Unorm16x2¶
Unorm16x4¶
Snorm16¶
Snorm16x2¶
Snorm16x4¶
Float16¶
Float16x2¶
Float16x4¶
Float32¶
Float32x2¶
Float32x3¶
Float32x4¶
Uint32¶
Uint32x2¶
Uint32x3¶
Uint32x4¶
Sint32¶
Sint32x2¶
Sint32x3¶
Sint32x4¶
Unorm1010102¶
Unorm8x4BGRA¶
Types¶
Companion¶
object Companion
object Companion
Properties¶
entries¶
expect val entries: EnumEntries<GPUVertexFormat>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
name¶
ordinal¶
value¶
Functions¶
valueOf¶
expect fun valueOf(value: String): GPUVertexFormat
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.)
**Throws**
[`kotlin.IllegalArgumentException`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html)
: if this enum type has no constant with the specified name
values¶
expect fun values(): Array<GPUVertexFormat>
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.