From 1e0a490a69803ee3a3a77ea50cff09c91f40b497 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:11:27 -0400 Subject: [PATCH] Add xgputexturesizestack2d structures --- libs/xassets/xgputexturesizestack2d.cpp | 20 ++++++++++++++++++ libs/xassets/xgputexturesizestack2d.h | 27 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 libs/xassets/xgputexturesizestack2d.cpp create mode 100644 libs/xassets/xgputexturesizestack2d.h 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 + + + + + + + +