#ifndef XTEXTUREDESC_H
#define XTEXTUREDESC_H

#include "xasset.h"
#include "xd3denums.h"

class XTextureDesc : public XAsset
{
public:
    explicit XTextureDesc();
    ~XTextureDesc();

    void Clear() override;
    void ParseData(QDataStream *aStream) override;

private:
    XD3DResourceType mResourceType;
    uint mWidth;
    uint mHeight;
    uint mDepth;
    XD3DFormat mFormat;
    uint mRowPitch;
    uint mSlicePitch;
    uint mBitsPerPixel;
    uint mWidthInBlocks;
    uint mHeightInBlocks;
    uint mDepthInBlocks;
    uint mBytesPerBlock;
    int mExpBias;
    uint mFlags;
    XD3DMultiSampleType mMultiSampleType;
};

#endif // XTEXTUREDESC_H
