30 lines
646 B
C
30 lines
646 B
C
|
|
#ifndef XGFXSTATICMODELDRAWINST_H
|
||
|
|
#define XGFXSTATICMODELDRAWINST_H
|
||
|
|
|
||
|
|
#include "xasset.h"
|
||
|
|
#include "xgfxpackedplacement.h"
|
||
|
|
#include "xmodel.h"
|
||
|
|
|
||
|
|
#include <QVector>
|
||
|
|
|
||
|
|
class XGfxStaticModelDrawInst : public XAsset
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
XGfxStaticModelDrawInst();
|
||
|
|
~XGfxStaticModelDrawInst();
|
||
|
|
|
||
|
|
virtual void ParseData(QDataStream* aStream) override;
|
||
|
|
virtual void Clear() override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
float mCullDist;
|
||
|
|
XGfxPackedPlacement mPlacement;
|
||
|
|
XModel *mModel;
|
||
|
|
quint8 mReflectionProbeIndex;
|
||
|
|
quint8 mPrimaryLightIndex;
|
||
|
|
quint16 mLightingHandle;
|
||
|
|
quint8 mFlags;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // XGFXSTATICMODELDRAWINST_H
|