Skip to content

MeshChannelDesc

Defined in: asset/meshFormat.ts:66

The .esmesh read/write door. Public because writing one is what an importer does — a glTF cook, a plugin’s own format — and reading one has to agree with it exactly. @beta.

components: number

Defined in: asset/meshFormat.ts:70

1..4.


offset: number

Defined in: asset/meshFormat.ts:74

Byte offset of this channel within one vertex.


semantic: number

Defined in: asset/meshFormat.ts:68

One of MeshChannel; also the attribute location.


type: number

Defined in: asset/meshFormat.ts:72

One of MeshChannelType.