API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceCompressedTextureLevel

@codexo/exojs / rendering / stable

One mip level of a compressed texture payload: the block bytes exactly as the container stored them, plus the texel extent they decode to. `data` is uploaded verbatim - nothing decodes, re-packs or premultiplies it - so its length must be exactly `compressedLevelByteLength(format, width, height)`.

3
props
0
methods
0
events
Import
import { CompressedTextureLevel } from '@codexo/exojs'

One mip level of a compressed texture payload: the block bytes exactly as the container stored them, plus the texel extent they decode to.

`data` is uploaded verbatim - nothing decodes, re-packs or premultiplies it - so its length must be exactly `compressedLevelByteLength(format, width, height)`.

Properties3
data: Uint8Array
height: number
width: number
Source