Companion
Properties
An immutable vertex format with well-known attributes: position, normal, st, tangent, and bitangent.
An immutable vertex format with position, normal, and st attributes. This is compatible with most appearances and materials; however normal and st attributes are not always required. When this is known in advance, another VertexFormat
should be used.
The number of elements used to pack the object into an array.
An immutable vertex format with position and color attributes.
An immutable vertex format with position and normal attributes. This is compatible with per-instance color appearances like PerInstanceColorAppearance.
An immutable vertex format with position and st attributes. This is compatible with EllipsoidSurfaceAppearance.
An immutable vertex format with position, normal, and st attributes. This is compatible with MaterialAppearance when MaterialAppearance.materialSupport is TEXTURED/code>.
Link copied to clipboard
An immutable vertex format with only a position attribute.
Functions
Link copied to clipboard
Duplicates a VertexFormat instance.
Link copied to clipboard
open override fun pack(value: VertexFormat, array: ReadonlyArray<Double>, startingIndex: Int?): ReadonlyArray<Double>Stores the provided instance into the provided array.
Link copied to clipboard
open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: VertexFormat?): VertexFormatRetrieves an instance from a packed array.