Model loading · function
embedCarried
The images a model carried inside itself, embedded; a white texel for each it only named.
Explained in Importing models.
function embedCarried(refs: readonly AssetReference[], warnings: string[]): DrftTextureSource[]import { embedCarried } from '@driftengine/assets';Parameters
| Parameter | Type | Description |
|---|---|---|
refs | readonly AssetReference[] | |
warnings | string[] |
In depth
What a bake does when it has nowhere to look, which is a .glb handed over as bytes. The command
looks beside the model first and falls back to the same placeholder, with the same words.