38 lines
520 B
C++
38 lines
520 B
C++
//
|
|
// Created by sfd on 25-8-5.
|
|
//
|
|
|
|
#ifndef TEXIMAGE_H
|
|
#define TEXIMAGE_H
|
|
|
|
#include <vector>
|
|
|
|
#include "Entry.h"
|
|
|
|
namespace PKG
|
|
{
|
|
|
|
std::string GetFileExtension(MipmapFormat format);
|
|
|
|
class TexMipMap
|
|
{
|
|
public:
|
|
int Width;
|
|
int Height;
|
|
int DecompressedDataCount;
|
|
bool IsZ4Compressed = false;
|
|
|
|
MipmapFormat Format;
|
|
|
|
std::vector<uint8_t> Data;
|
|
};
|
|
|
|
|
|
class TexImage
|
|
{
|
|
public:
|
|
std::vector<TexMipMap> Mipmaps;
|
|
};
|
|
}
|
|
#endif //TEXIMAGE_H
|