The .drft container · function
readInstances
The groups in an INST payload, each checked against the file's mesh count.
Explained in The .drft container.
function readInstances(buffer: ArrayBufferLike, offset: number, byteLength: number, meshCount: number): DrftInstanceGroup[]import { readInstances } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
buffer | ArrayBufferLike | |
offset | number | |
byteLength | number | |
meshCount | number |