feature/test #9
37
libs/xassets/xgfxlightgrid.h
Normal file
37
libs/xassets/xgfxlightgrid.h
Normal file
@ -0,0 +1,37 @@
|
||||
#ifndef XGFXLIGHTGRID_H
|
||||
#define XGFXLIGHTGRID_H
|
||||
|
||||
#include "xasset.h"
|
||||
#include "xgfxlightgridentry.h"
|
||||
#include "xgfxlightgridcolors.h"
|
||||
|
||||
#include <QVector>
|
||||
#include <QVector3D>
|
||||
|
||||
class XGfxLightGrid : public XAsset
|
||||
{
|
||||
public:
|
||||
XGfxLightGrid();
|
||||
virtual ~XGfxLightGrid();
|
||||
|
||||
// Override Clear and ParseData from XAsset
|
||||
virtual void Clear() override;
|
||||
virtual void ParseData(QDataStream *aStream) override;
|
||||
|
||||
private:
|
||||
bool mHasLightRegions;
|
||||
unsigned int mSunPrimaryLightIndex;
|
||||
QVector3D mMins;
|
||||
QVector3D mMaxs;
|
||||
unsigned int mRowAxis;
|
||||
unsigned int mColAxis;
|
||||
unsigned __int16 *mRowDataStart;
|
||||
unsigned int mRawRowDataSize;
|
||||
unsigned __int8 *mRawRowData;
|
||||
unsigned int mEntryCount;
|
||||
QVector<XGfxLightGridEntry> mEntries;
|
||||
unsigned int mColorCount;
|
||||
QVector<XGfxLightGridColors> mColors;
|
||||
};
|
||||
|
||||
#endif // XGFXLIGHTGRID_H
|
||||
Loading…
x
Reference in New Issue
Block a user