From bfedb389b8f2237e6c23d1d86f7247e8762decad Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:11:16 -0400 Subject: [PATCH] Add xgputexturesizestack1d structures --- libs/xassets/xgputexturesizestack1d.cpp | 18 +++++++++++++++++ libs/xassets/xgputexturesizestack1d.h | 26 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 libs/xassets/xgputexturesizestack1d.cpp create mode 100644 libs/xassets/xgputexturesizestack1d.h diff --git a/libs/xassets/xgputexturesizestack1d.cpp b/libs/xassets/xgputexturesizestack1d.cpp new file mode 100644 index 0000000..5c034a6 --- /dev/null +++ b/libs/xassets/xgputexturesizestack1d.cpp @@ -0,0 +1,18 @@ +#include "xgputexturesizestack1d.h" + +XGpuTextureSizeStack1D::XGpuTextureSizeStack1D() + : XAsset() + , mWidth(0) +{ + +} + +void XGpuTextureSizeStack1D::ParseData(QDataStream *aStream) +{ + +} + +void XGpuTextureSizeStack1D::Clear() +{ + mWidth = 0; +} diff --git a/libs/xassets/xgputexturesizestack1d.h b/libs/xassets/xgputexturesizestack1d.h new file mode 100644 index 0000000..e6671da --- /dev/null +++ b/libs/xassets/xgputexturesizestack1d.h @@ -0,0 +1,26 @@ +#ifndef XGPUTEXTURESIZESTACK1D_H +#define XGPUTEXTURESIZESTACK1D_H + +#include "xasset.h" + +class XGpuTextureSizeStack1D : public XAsset +{ +public: + explicit XGpuTextureSizeStack1D(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + quint32 mWidth; +}; + +#endif // XGPUTEXTURESIZESTACK1D_H + + + + + + + +