Documentation
    Preparing search index...

    Type Alias TextureMapRole

    TextureMapRole: "color" | "data"

    Whether a texture is a colour map or a data map (§60a, §77; R-30c, 2026-09-09).

    "color" is albedo, emissive, and anything authored in an image editor; "data" is a normal, roughness, occlusion, or mask map whose bytes are the numbers they are. The tag is optional: omitting it invents no default role, and leaves TextureSource.colorSpace at its dated "linear" default so every already-authored texture stays byte-identical. See TextureSource.role.