Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Variable TEXTURE_DECODE_KINDConst

    TEXTURE_DECODE_KIND: Record<MeshTextureEncoding, "raw" | "codec" | "ktx2"> = ...

    The texture encodings this loader can decode, and which decode path each takes.

    Closed for the same reason ENCODING_BUDGET_KIND is closed: an unrecognised value must be a REJECTION, never a fall-through to "probably an image". The three arms allocate differently: raw materializes h * w * c values, a bitmap codec produces a 4-channel 8-bit surface, and KTX2 remains GPU-compressed with a full mip chain. Guessing wrong would charge the wrong admission budget.