pub fn material_tpk(
path_id: i64,
name: &str,
envs: &[(&str, (i32, i64))],
) -> ObjectExpand description
A Material (class 21) of every field of the 2022.3 layout, the one a
stripped Material is read by, its m_TexEnvs holding envs (plain
names): material’s value with the keyword lists, flags, tag map,
shader passes, m_Ints and texture stacks between, all empty. The
fields and their order are UnityPy’s generated Material class’s
(generated.py, MIT); the two flags are a UInt8 and an aligned
bool, as AssetStudio’s Material reader (MIT) reads them.