#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(XDataStream *aStream) override;

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

#endif // XTEXTUREDESC_H
