Model loading · function
placeholderTexture
One white texel under the name a material asked for.
Explained in Importing models.
function placeholderTexture(name: string): DrftTextureSourceimport { placeholderTexture } from '@driftengine/assets';Parameters
| Parameter | Type | Description |
|---|---|---|
name | string |
In depth
It keeps every material's index meaning what it meant: dropping the entry instead would renumber every texture after it and repaint the model.