Remove VertexLoader::ToString

This commit is contained in:
Pokechu22
2021-03-10 18:48:26 -08:00
parent bc7da726a5
commit b6149623aa
9 changed files with 12 additions and 81 deletions

View File

@ -524,6 +524,16 @@ struct VAT
UVAT_group1 g1;
UVAT_group2 g2;
};
template <>
struct fmt::formatter<VAT>
{
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
template <typename FormatContext>
auto format(const VAT& vat, FormatContext& ctx)
{
return format_to(ctx.out(), "{}\n{}\n{}", vat.g0, vat.g1, vat.g2);
}
};
class VertexLoaderBase;