external set_shadow_compare_func : t -> shadow_compare_func -> unit = "texture_set_shadow_compare_func"