Skip to content

MeshChannelDesc

Defined in: asset/meshFormat.ts:48

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:52

1..4.


offset: number

Defined in: asset/meshFormat.ts:56

Byte offset of this channel within one vertex.


semantic: number

Defined in: asset/meshFormat.ts:50

One of MeshChannel; also the attribute location.


type: number

Defined in: asset/meshFormat.ts:54

One of MeshChannelType.