2025-09-05 21:35:04 +00:00
|
|
|
#ifndef XGFXWORLDVERTEXLAYERDATA_H
|
|
|
|
|
#define XGFXWORLDVERTEXLAYERDATA_H
|
|
|
|
|
|
|
|
|
|
#include "xasset.h"
|
|
|
|
|
#include "xd3dvertexbuffer.h"
|
|
|
|
|
|
|
|
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
class XGfxWorldVertexLayerData : public XAsset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit XGfxWorldVertexLayerData();
|
|
|
|
|
~XGfxWorldVertexLayerData();
|
|
|
|
|
|
2025-09-10 21:58:26 -04:00
|
|
|
void ParseData(XDataStream *aStream) override;
|
2025-09-05 21:35:04 +00:00
|
|
|
void Clear() override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
qint32 mDataPtr;
|
|
|
|
|
QVector<quint8> mData;
|
|
|
|
|
XD3DVertexBuffer mLayerVb;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XGFXWORLDVERTEXLAYERDATA_H
|