diff --git a/libs/xassets/xgputexturesizestack2d.cpp b/libs/xassets/xgputexturesizestack2d.cpp new file mode 100644 index 0000000..e0eabc5 --- /dev/null +++ b/libs/xassets/xgputexturesizestack2d.cpp @@ -0,0 +1,20 @@ +#include "xgputexturesizestack2d.h" + +XGpuTextureSizeStack2D::XGpuTextureSizeStack2D() + : XAsset() + , mWidth(0) + , mHeight(0) +{ + +} + +void XGpuTextureSizeStack2D::ParseData(QDataStream *aStream) +{ + +} + +void XGpuTextureSizeStack2D::Clear() +{ + mWidth = 0; + mHeight = 0; +} diff --git a/libs/xassets/xgputexturesizestack2d.h b/libs/xassets/xgputexturesizestack2d.h new file mode 100644 index 0000000..3dc3557 --- /dev/null +++ b/libs/xassets/xgputexturesizestack2d.h @@ -0,0 +1,27 @@ +#ifndef XGPUTEXTURESIZESTACK2D_H +#define XGPUTEXTURESIZESTACK2D_H + +#include "xasset.h" + +class XGpuTextureSizeStack2D : public XAsset +{ +public: + explicit XGpuTextureSizeStack2D(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + quint32 mWidth; + quint32 mHeight; +}; + +#endif // XGPUTEXTURESIZESTACK2D_H + + + + + + + +