Add xgputexturesize1d structures
This commit is contained in:
parent
47e09afa73
commit
388e2dfc52
18
libs/xassets/xgputexturesize1d.cpp
Normal file
18
libs/xassets/xgputexturesize1d.cpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#include "xgputexturesize1d.h"
|
||||||
|
|
||||||
|
XGpuTextureSize1D::XGpuTextureSize1D()
|
||||||
|
: XAsset()
|
||||||
|
, mWidth(0)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGpuTextureSize1D::ParseData(QDataStream *aStream)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGpuTextureSize1D::Clear()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
26
libs/xassets/xgputexturesize1d.h
Normal file
26
libs/xassets/xgputexturesize1d.h
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#ifndef XGPUTEXTURESIZE1D_H
|
||||||
|
#define XGPUTEXTURESIZE1D_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
|
||||||
|
class XGpuTextureSize1D : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
explicit XGpuTextureSize1D();
|
||||||
|
|
||||||
|
void ParseData(QDataStream *aStream) override;
|
||||||
|
void Clear() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
quint32 mWidth;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XGPUTEXTURESIZE1D_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user