feature/test #9
23
libs/xassets/xmodelstreaminfo.cpp
Normal file
23
libs/xassets/xmodelstreaminfo.cpp
Normal 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();
|
||||||
|
}
|
||||||
20
libs/xassets/xmodelstreaminfo.h
Normal file
20
libs/xassets/xmodelstreaminfo.h
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user