XPlor/libs/xassets/xmaterialvertexstreamrouting.cpp

27 lines
568 B
C++
Raw Normal View History

#include "xmaterialvertexstreamrouting.h"
XMaterialVertexStreamRouting::XMaterialVertexStreamRouting()
: XAsset()
2025-09-07 12:36:08 -04:00
, mData(16)
, mDecl(15)
{
2025-09-07 12:36:08 -04:00
SetName("Material Vertex Stream Routing");
}
void XMaterialVertexStreamRouting::Clear()
{
}
2025-09-10 21:58:26 -04:00
void XMaterialVertexStreamRouting::ParseData(XDataStream *aStream)
{
2025-09-07 12:36:08 -04:00
if (IsDebug())
{
qDebug() << QString("[%1] Parsing data for %2").arg(aStream->device()->pos(), 10, 10, QChar('0')).arg(GetName());
}
for (int i = 0; i < 15; i++)
{
mDecl[i].ParsePtr(aStream, false);
}
}