From cd99390ba7bd47ff0eae179018bac0a999104024 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:10:44 -0400 Subject: [PATCH] Add xgputexturesize2d structures --- libs/xassets/xgputexturesize2d.cpp | 19 +++++++++++++++++++ libs/xassets/xgputexturesize2d.h | 27 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 libs/xassets/xgputexturesize2d.cpp create mode 100644 libs/xassets/xgputexturesize2d.h diff --git a/libs/xassets/xgputexturesize2d.cpp b/libs/xassets/xgputexturesize2d.cpp new file mode 100644 index 0000000..4226b2b --- /dev/null +++ b/libs/xassets/xgputexturesize2d.cpp @@ -0,0 +1,19 @@ +#include "xgputexturesize2d.h" + +XGpuTextureSize2D::XGpuTextureSize2D() + : XAsset() + , mWidth(0) + , mHeight(0) +{ + +} + +void XGpuTextureSize2D::ParseData(QDataStream *aStream) +{ + +} + +void XGpuTextureSize2D::Clear() +{ + +} diff --git a/libs/xassets/xgputexturesize2d.h b/libs/xassets/xgputexturesize2d.h new file mode 100644 index 0000000..65a986b --- /dev/null +++ b/libs/xassets/xgputexturesize2d.h @@ -0,0 +1,27 @@ +#ifndef XGPUTEXTURESIZE2D_H +#define XGPUTEXTURESIZE2D_H + +#include "xasset.h" + +class XGpuTextureSize2D : public XAsset +{ +public: + explicit XGpuTextureSize2D(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + quint32 mWidth; + quint32 mHeight; +}; + +#endif // XGPUTEXTURESIZE2D_H + + + + + + + +