2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-05 12:33:02 +00:00

feat: add t6 vertexdecl sub asset creator

This commit is contained in:
Jan Laupetin
2026-02-27 21:28:28 +01:00
parent 3ef8cc7260
commit 9a527c16fa
15 changed files with 179 additions and 8 deletions

View File

@@ -207,4 +207,18 @@ namespace techset
return std::nullopt;
}
CommonVertexDeclaration::CommonVertexDeclaration(std::vector<CommonStreamRouting> routing)
: m_routing(std::move(routing))
{
}
void CommonVertexDeclaration::SortRoutingEntries()
{
std::ranges::sort(m_routing,
[](const CommonStreamRouting& r1, const CommonStreamRouting& r2)
{
return r1.m_source < r2.m_source;
});
}
} // namespace techset