diff --git a/libs/xassets/xgfxpixelshaderloaddef.cpp b/libs/xassets/xgfxpixelshaderloaddef.cpp new file mode 100644 index 0000000..84b1676 --- /dev/null +++ b/libs/xassets/xgfxpixelshaderloaddef.cpp @@ -0,0 +1,33 @@ +#include "xgfxpixelshaderloaddef.h" + +XGfxPixelShaderLoadDef::XGfxPixelShaderLoadDef() + : XAsset() + , mCachedPartPtr(0) + , mCachedPart() + , mPhysicalPartPtr(0) + , mPhysicalPart() + , mCachedPartSize(0) + , mPhysicalPartSize(0) +{ + +} + +XGfxPixelShaderLoadDef::~XGfxPixelShaderLoadDef() +{ + +} + +void XGfxPixelShaderLoadDef::ParseData(QDataStream *aStream) +{ + +} + +void XGfxPixelShaderLoadDef::Clear() +{ + mCachedPartPtr = 0; + mCachedPart.clear(); + mPhysicalPartPtr = 0; + mPhysicalPart.clear(); + mCachedPartSize = 0; + mPhysicalPartSize = 0; +} diff --git a/libs/xassets/xgfxpixelshaderloaddef.h b/libs/xassets/xgfxpixelshaderloaddef.h new file mode 100644 index 0000000..85547b1 --- /dev/null +++ b/libs/xassets/xgfxpixelshaderloaddef.h @@ -0,0 +1,34 @@ +#ifndef XGFXPIXELSHADERLOADDEF_H +#define XGFXPIXELSHADERLOADDEF_H + +#include "xasset.h" + +#include + +class XGfxPixelShaderLoadDef : public XAsset +{ +public: + explicit XGfxPixelShaderLoadDef(); + ~XGfxPixelShaderLoadDef(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + quint16 mCachedPartPtr; + QVector mCachedPart; + quint16 mPhysicalPartPtr; + QVector mPhysicalPart; + quint16 mCachedPartSize; + quint16 mPhysicalPartSize; +}; + +#endif // XGFXPIXELSHADERLOADDEF_H + + + + + + + +