2025-09-03 13:18:16 -04:00
|
|
|
#include "xmaterialvertexstreamrouting.h"
|
|
|
|
|
|
|
|
|
|
XMaterialVertexStreamRouting::XMaterialVertexStreamRouting()
|
|
|
|
|
: XAsset()
|
2025-09-07 12:36:08 -04:00
|
|
|
, mData(16)
|
|
|
|
|
, mDecl(15)
|
2025-09-03 13:18:16 -04:00
|
|
|
{
|
2025-09-07 12:36:08 -04:00
|
|
|
SetName("Material Vertex Stream Routing");
|
2025-09-03 13:18:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void XMaterialVertexStreamRouting::Clear()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-10 21:58:26 -04:00
|
|
|
void XMaterialVertexStreamRouting::ParseData(XDataStream *aStream)
|
2025-09-03 13:18:16 -04:00
|
|
|
{
|
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);
|
|
|
|
|
}
|
2025-09-03 13:18:16 -04:00
|
|
|
}
|