Model loading · function

tileGridFromDtex

The grid a chunk's table describes, or null where the material is one image and not streamed.

Explained in Importing models.

function tileGridFromDtex(material: DtexMaterial): MaterialTileGrid | null
import { tileGridFromDtex } from '@driftengine/assets';

Parameters

ParameterTypeDescription
materialDtexMaterial