Add xgfxvertexshaderloaddef structures
This commit is contained in:
parent
4eb817375c
commit
be21cf40cb
23
libs/xassets/xgfxvertexshaderloaddef.cpp
Normal file
23
libs/xassets/xgfxvertexshaderloaddef.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
#include "xgfxvertexshaderloaddef.h"
|
||||
|
||||
XGfxVertexShaderLoadDef::XGfxVertexShaderLoadDef()
|
||||
: XAsset()
|
||||
, mCachedPartPtr(0)
|
||||
, mCachedPart()
|
||||
, mPhysicalPartPtr(0)
|
||||
, mPhysicalPart()
|
||||
, mCachedPartSize(0)
|
||||
, mPhysicalPartSize(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGfxVertexShaderLoadDef::Clear()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGfxVertexShaderLoadDef::ParseData(QDataStream *aStream)
|
||||
{
|
||||
|
||||
}
|
||||
25
libs/xassets/xgfxvertexshaderloaddef.h
Normal file
25
libs/xassets/xgfxvertexshaderloaddef.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef XGFXCERTEXSHADERLOADDEF_H
|
||||
#define XGFXCERTEXSHADERLOADDEF_H
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
#include <QList>
|
||||
|
||||
class XGfxVertexShaderLoadDef : public XAsset
|
||||
{
|
||||
public:
|
||||
XGfxVertexShaderLoadDef();
|
||||
|
||||
virtual void Clear() override;
|
||||
virtual void ParseData(QDataStream *aStream) override;
|
||||
|
||||
private:
|
||||
qint32 mCachedPartPtr;
|
||||
QVector<int> mCachedPart;
|
||||
qint32 mPhysicalPartPtr;
|
||||
QVector<int> mPhysicalPart;
|
||||
int mCachedPartSize;
|
||||
int mPhysicalPartSize;
|
||||
};
|
||||
|
||||
#endif // XGFXCERTEXSHADERLOADDEF_H
|
||||
Loading…
x
Reference in New Issue
Block a user