external set_color_mode : t -> color_mode -> unit = "material_set_color_mode"