feature/test #9
34
libs/xassets/xgfxdrawsurffields.cpp
Normal file
34
libs/xassets/xgfxdrawsurffields.cpp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#include "xgfxdrawsurffields.h"
|
||||||
|
|
||||||
|
XGfxDrawSurfFields::XGfxDrawSurfFields()
|
||||||
|
: XAsset()
|
||||||
|
, mObjectId(0)
|
||||||
|
, mReflectionProbeIndex(0)
|
||||||
|
, mCustomIndex(0)
|
||||||
|
, mMaterialSortedIndex(0)
|
||||||
|
, mPrepass(0)
|
||||||
|
, mPrimaryLightIndex(0)
|
||||||
|
, mSurfType(0)
|
||||||
|
, mPrimarySortKey(0)
|
||||||
|
, mUnused(0)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGfxDrawSurfFields::ParseData(QDataStream *aStream)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGfxDrawSurfFields::Clear()
|
||||||
|
{
|
||||||
|
mObjectId = 0;
|
||||||
|
mReflectionProbeIndex = 0;
|
||||||
|
mCustomIndex = 0;
|
||||||
|
mMaterialSortedIndex = 0;
|
||||||
|
mPrepass = 0;
|
||||||
|
mPrimaryLightIndex = 0;
|
||||||
|
mSurfType = 0;
|
||||||
|
mPrimarySortKey = 0;
|
||||||
|
mUnused = 0;
|
||||||
|
}
|
||||||
26
libs/xassets/xgfxdrawsurffields.h
Normal file
26
libs/xassets/xgfxdrawsurffields.h
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#ifndef XGFXDRAWSURFFIELDS_H
|
||||||
|
#define XGFXDRAWSURFFIELDS_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
|
||||||
|
class XGfxDrawSurfFields : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
XGfxDrawSurfFields();
|
||||||
|
|
||||||
|
virtual void ParseData(QDataStream* aStream) override;
|
||||||
|
virtual void Clear() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
quint64 mObjectId;
|
||||||
|
quint64 mReflectionProbeIndex;
|
||||||
|
quint64 mCustomIndex;
|
||||||
|
quint64 mMaterialSortedIndex;
|
||||||
|
quint64 mPrepass;
|
||||||
|
quint64 mPrimaryLightIndex;
|
||||||
|
quint64 mSurfType;
|
||||||
|
quint64 mPrimarySortKey;
|
||||||
|
quint64 mUnused;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XGFXIMAGELOADDEF_H
|
||||||
Loading…
x
Reference in New Issue
Block a user