init
This commit is contained in:
36
expkg/src/Tex/TexImage.h
Normal file
36
expkg/src/Tex/TexImage.h
Normal file
@ -0,0 +1,36 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user