Add xgputexturesizestack2d structures
This commit is contained in:
parent
bfedb389b8
commit
1e0a490a69
20
libs/xassets/xgputexturesizestack2d.cpp
Normal file
20
libs/xassets/xgputexturesizestack2d.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include "xgputexturesizestack2d.h"
|
||||
|
||||
XGpuTextureSizeStack2D::XGpuTextureSizeStack2D()
|
||||
: XAsset()
|
||||
, mWidth(0)
|
||||
, mHeight(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGpuTextureSizeStack2D::ParseData(QDataStream *aStream)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGpuTextureSizeStack2D::Clear()
|
||||
{
|
||||
mWidth = 0;
|
||||
mHeight = 0;
|
||||
}
|
||||
27
libs/xassets/xgputexturesizestack2d.h
Normal file
27
libs/xassets/xgputexturesizestack2d.h
Normal file
@ -0,0 +1,27 @@
|
||||
#ifndef XGPUTEXTURESIZESTACK2D_H
|
||||
#define XGPUTEXTURESIZESTACK2D_H
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
class XGpuTextureSizeStack2D : public XAsset
|
||||
{
|
||||
public:
|
||||
explicit XGpuTextureSizeStack2D();
|
||||
|
||||
void ParseData(QDataStream *aStream) override;
|
||||
void Clear() override;
|
||||
|
||||
private:
|
||||
quint32 mWidth;
|
||||
quint32 mHeight;
|
||||
};
|
||||
|
||||
#endif // XGPUTEXTURESIZESTACK2D_H
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user