Add xmodelstreaminfo structures

This commit is contained in:
Nicholas Johnson 2025-09-03 13:19:57 -04:00
parent 73b3cc9e75
commit 78a6efd02f
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#include "xmodelstreaminfo.h"
XModelStreamInfo::XModelStreamInfo()
: XAsset()
, mHighMipBounds(new XModelHighMipBounds())
{
}
XModelStreamInfo::~XModelStreamInfo()
{
delete mHighMipBounds;
}
void XModelStreamInfo::ParseData(QDataStream *aStream)
{
}
void XModelStreamInfo::Clear()
{
mHighMipBounds->Clear();
}

View File

@ -0,0 +1,20 @@
#ifndef XMODELSTREAMINFO_H
#define XMODELSTREAMINFO_H
#include "xasset.h"
#include "xmodelhighmipbounds.h"
class XModelStreamInfo : public XAsset
{
public:
XModelStreamInfo();
~XModelStreamInfo();
virtual void ParseData(QDataStream* aStream) override;
virtual void Clear() override;
private:
XModelHighMipBounds *mHighMipBounds;
};
#endif // XMODELSTREAMINFO_H