From 7250e1f4602437c7de82b7294b71b510e870a27a Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:11:38 -0400 Subject: [PATCH] Add xgputexturesizestack3d structures --- libs/xassets/xgputexturesizestack3d.cpp | 22 +++++++++++++++++++ libs/xassets/xgputexturesizestack3d.h | 28 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 libs/xassets/xgputexturesizestack3d.cpp create mode 100644 libs/xassets/xgputexturesizestack3d.h diff --git a/libs/xassets/xgputexturesizestack3d.cpp b/libs/xassets/xgputexturesizestack3d.cpp new file mode 100644 index 0000000..9ef273b --- /dev/null +++ b/libs/xassets/xgputexturesizestack3d.cpp @@ -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; +} diff --git a/libs/xassets/xgputexturesizestack3d.h b/libs/xassets/xgputexturesizestack3d.h new file mode 100644 index 0000000..19d1204 --- /dev/null +++ b/libs/xassets/xgputexturesizestack3d.h @@ -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 + + + + + + + +