2025-08-17 13:14:17 -04:00
|
|
|
#include "xgfximage.h"
|
2025-09-05 18:35:17 -04:00
|
|
|
|
|
|
|
|
XGfxImage::XGfxImage()
|
|
|
|
|
: XAsset()
|
|
|
|
|
, mMapType()
|
|
|
|
|
, mTexture()
|
|
|
|
|
, mSemantic(0)
|
|
|
|
|
, mCardMemory()
|
|
|
|
|
, mWidth(0)
|
|
|
|
|
, mHeight(0)
|
|
|
|
|
, mDepth(0)
|
|
|
|
|
, mCategory(0)
|
|
|
|
|
, mDelayLoadPixels(false)
|
|
|
|
|
, mPixels()
|
|
|
|
|
, mBaseSize(0)
|
|
|
|
|
, mStreamSlot(0)
|
|
|
|
|
, mStreaming(false)
|
|
|
|
|
, mName("")
|
|
|
|
|
{
|
|
|
|
|
SetType(ASSET_TYPE_IMAGE);
|
|
|
|
|
SetName("Image");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XGfxImage::~XGfxImage()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void XGfxImage::ParseData(QDataStream *aStream)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void XGfxImage::Clear()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|