public static Renderer Set <T>(this Renderer renderer, ShaderPropertyIndexGeneric <T> property, T value) => property.SetOn(renderer, value);
public static Material Set <T>(this Material mat, ShaderPropertyIndexGeneric <T> property) { property.SetOn(mat); return(mat); }
public static Material Set <T>(this Material mat, ShaderPropertyIndexGeneric <T> property, T value) => property.SetOn(mat, value);
public static MaterialPropertyBlock Set <T>(this MaterialPropertyBlock block, ShaderPropertyIndexGeneric <T> property, T value) { property.SetOn(block, value); return(block); }