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