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

    Interface TextureDeclaration

    The validated texture declaration, or null when the node has no texture.

    interface TextureDeclaration {
        encoding: MeshTextureEncoding;
        width: number;
        height: number;
        channels: number;
        decode: "raw" | "ktx2" | "codec";
    }
    Index
    width: number
    height: number
    channels: number
    decode: "raw" | "ktx2" | "codec"

    Which decode path TEXTURE_DECODE_KIND assigns this encoding.