Renderer · interface
CompressedTextureSource
Block-compressed texels with their stored mip chain, level 0 first.
Explained in Hello world.
interface CompressedTextureSourceimport type { CompressedTextureSource } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
formatreadonly | BlockFormat | |
widthreadonly | number | |
heightreadonly | number | |
levelsreadonly | readonly Uint8Array[] |