VertexAttributeType


@ExperimentalCustomMeshApi
class VertexAttributeType


Defines the type of data for a vertex attribute.

This specifies the data type and component count for an attribute in the vertex buffer.

Summary

Public companion properties

VertexAttributeType

A single 32-bit floating point value.

VertexAttributeType

Two 32-bit floating point values.

VertexAttributeType

Three 32-bit floating point values.

VertexAttributeType

Four 32-bit floating point values.

VertexAttributeType

Four unsigned 8-bit integers.

VertexAttributeType

Four unsigned 8-bit integers, normalized to 0, 1.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public companion properties

FLOAT

val FLOATVertexAttributeType

A single 32-bit floating point value.

FLOAT2

val FLOAT2VertexAttributeType

Two 32-bit floating point values.

FLOAT3

val FLOAT3VertexAttributeType

Three 32-bit floating point values.

FLOAT4

val FLOAT4VertexAttributeType

Four 32-bit floating point values.

UBYTE4

val UBYTE4VertexAttributeType

Four unsigned 8-bit integers.

UBYTE4_NORM

val UBYTE4_NORMVertexAttributeType

Four unsigned 8-bit integers, normalized to 0, 1.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String