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