Skip to content

Documentation / scene / ZHairBufferRef

Type Alias: ZHairBufferRef ​

ZHairBufferRef = object

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:39

Where one array sits inside the binary payload.

Remarks ​

Both fields are byte counts, and offset is relative to the start of the payload rather than the file, so the manifest does not have to be rewritten if the header ever grows.

Properties ​

offset ​

offset: number

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:41

Byte offset from the start of the payload.


length ​

length: number

Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:43

Length in bytes.

Released under the MIT License.