fn key_for_occlusion_texinfo()

in native/src/meld_keys/key_trait.rs [123:137]


fn key_for_occlusion_texinfo(
    work_asset: &WorkAsset,
    texinfo: &Option<OcclusionTexture>,
) -> MeldKey {
    if let Some(texinfo) = &texinfo {
        format!(
            "[s={:?},tc={},src={}]",
            texinfo.strength,
            texinfo.tex_coord,
            key(work_asset.texture_keys(), texinfo.index),
        )
    } else {
        String::from("[]")
    }
}