From cdef686ec45380c1f35dc0f2d8c615197b4729ed Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:08:47 -0400 Subject: [PATCH] Add xgpuvertexfetchconstant structures --- libs/xassets/xgpuvertexfetchconstant.cpp | 19 +++++++++++++++++++ libs/xassets/xgpuvertexfetchconstant.h | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 libs/xassets/xgpuvertexfetchconstant.cpp create mode 100644 libs/xassets/xgpuvertexfetchconstant.h diff --git a/libs/xassets/xgpuvertexfetchconstant.cpp b/libs/xassets/xgpuvertexfetchconstant.cpp new file mode 100644 index 0000000..f591d00 --- /dev/null +++ b/libs/xassets/xgpuvertexfetchconstant.cpp @@ -0,0 +1,19 @@ +#include "xgpuvertexfetchconstant.h" + +XGpuVertexFetchConstant::XGpuVertexFetchConstant() + : XAsset() + , mRequest() + , mDword() +{ + +} + +void XGpuVertexFetchConstant::ParseData(QDataStream *aStream) +{ + +} + +void XGpuVertexFetchConstant::Clear() +{ + +} diff --git a/libs/xassets/xgpuvertexfetchconstant.h b/libs/xassets/xgpuvertexfetchconstant.h new file mode 100644 index 0000000..b6685c1 --- /dev/null +++ b/libs/xassets/xgpuvertexfetchconstant.h @@ -0,0 +1,20 @@ +#ifndef XGPUVERTEXFETCHCONSTANT_H +#define XGPUVERTEXFETCHCONSTANT_H + +#include "xasset.h" +#include "xgpuvertexrawrequest.h" + +class XGpuVertexFetchConstant : public XAsset +{ +public: + XGpuVertexFetchConstant(); + + virtual void ParseData(QDataStream* aStream) override; + virtual void Clear() override; + +private: + XGpuVertexRawRequest mRequest; + unsigned int mDword[2]; +}; + +#endif // XGPUVERTEXFETCHCONSTANT_H