Renderer · interface
DecodeTables
Explained in Hello world.
interface DecodeTablesimport type { DecodeTables } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
nodesreadonly | Uint32Array | |
weightsreadonly | Float32Array | |
levelsreadonly | readonly Uint8Array[] | One array a mip level: every layer's RGBA bytes, layer after layer. |
layerCountreadonly | number | At least one, because a texture array of no layers cannot be created. |
layerSizereadonly | number | Level 0's edge in texels. One when nothing is sampled. |