From a2959f9b29726c2ce2916bf2c57d788410feb862 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:10:54 -0400 Subject: [PATCH] Add xgputexturesize3d structures --- libs/xassets/xgputexturesize3d.cpp | 18 ++++++++++++++++++ libs/xassets/xgputexturesize3d.h | 28 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 libs/xassets/xgputexturesize3d.cpp create mode 100644 libs/xassets/xgputexturesize3d.h diff --git a/libs/xassets/xgputexturesize3d.cpp b/libs/xassets/xgputexturesize3d.cpp new file mode 100644 index 0000000..687ba1c --- /dev/null +++ b/libs/xassets/xgputexturesize3d.cpp @@ -0,0 +1,18 @@ +#include "xgputexturesize3d.h" + +XGpuTextureSize3D::XGpuTextureSize3D() + : XAsset() + , mWidth(0) +{ + +} + +void XGpuTextureSize3D::ParseData(QDataStream *aStream) +{ + +} + +void XGpuTextureSize3D::Clear() +{ + +} diff --git a/libs/xassets/xgputexturesize3d.h b/libs/xassets/xgputexturesize3d.h new file mode 100644 index 0000000..d6ffa6a --- /dev/null +++ b/libs/xassets/xgputexturesize3d.h @@ -0,0 +1,28 @@ +#ifndef XGPUTEXTURESIZE3D_H +#define XGPUTEXTURESIZE3D_H + +#include "xasset.h" + +class XGpuTextureSize3D : public XAsset +{ +public: + explicit XGpuTextureSize3D(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + quint32 mWidth; + quint32 mHeight; + quint32 mDepth; +}; + +#endif // XGPUTEXTURESIZE3D_H + + + + + + + +