Add xgputexturesizestack3d structures

This commit is contained in:
Nicholas Johnson 2025-09-03 13:11:38 -04:00
parent 1e0a490a69
commit 7250e1f460
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#include "xgputexturesizestack3d.h"
XGpuTextureSizeStack3D::XGpuTextureSizeStack3D()
: XAsset()
, mWidth(0)
, mHeight(0)
, mDepth(0)
{
}
void XGpuTextureSizeStack3D::ParseData(QDataStream *aStream)
{
}
void XGpuTextureSizeStack3D::Clear()
{
mWidth = 0;
mHeight = 0;
mDepth = 0;
}

View File

@ -0,0 +1,28 @@
#ifndef XGPUTEXTURESIZESTACK3D_H
#define XGPUTEXTURESIZESTACK3D_H
#include "xasset.h"
class XGpuTextureSizeStack3D : public XAsset
{
public:
explicit XGpuTextureSizeStack3D();
void ParseData(QDataStream *aStream) override;
void Clear() override;
private:
quint32 mWidth;
quint32 mHeight;
quint32 mDepth;
};
#endif // XGPUTEXTURESIZESTACK3D_H