mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
Move iwi writer for version 27 in its iwi27 namespace
This commit is contained in:
@ -3,25 +3,28 @@
|
||||
#include "IImageWriter.h"
|
||||
#include "Image/IwiTypes.h"
|
||||
|
||||
class IwiWriter27 final : public IImageWriter
|
||||
namespace iwi27
|
||||
{
|
||||
static iwi27::IwiFormat GetIwiFormatForImageFormat(const ImageFormat* imageFormat);
|
||||
class IwiWriter final : public IImageWriter
|
||||
{
|
||||
static IwiFormat GetIwiFormatForImageFormat(const ImageFormat* imageFormat);
|
||||
|
||||
static void WriteVersion(FileAPI::IFile* file);
|
||||
static void FillHeader2D(iwi27::IwiHeader* header, Texture2D* texture);
|
||||
static void FillHeaderCube(iwi27::IwiHeader* header, TextureCube* texture);
|
||||
static void FillHeader3D(iwi27::IwiHeader* header, Texture3D* texture);
|
||||
static void WriteVersion(FileAPI::IFile* file);
|
||||
static void FillHeader2D(IwiHeader* header, Texture2D* texture);
|
||||
static void FillHeaderCube(IwiHeader* header, TextureCube* texture);
|
||||
static void FillHeader3D(IwiHeader* header, Texture3D* texture);
|
||||
|
||||
public:
|
||||
IwiWriter27();
|
||||
IwiWriter27(const IwiWriter27& other) = delete;
|
||||
IwiWriter27(IwiWriter27&& other) noexcept = delete;
|
||||
~IwiWriter27() override;
|
||||
public:
|
||||
IwiWriter();
|
||||
IwiWriter(const IwiWriter& other) = delete;
|
||||
IwiWriter(IwiWriter&& other) noexcept = delete;
|
||||
~IwiWriter() override;
|
||||
|
||||
IwiWriter27& operator=(const IwiWriter27& other) = delete;
|
||||
IwiWriter27& operator=(IwiWriter27&& other) noexcept = delete;
|
||||
IwiWriter& operator=(const IwiWriter& other) = delete;
|
||||
IwiWriter& operator=(IwiWriter&& other) noexcept = delete;
|
||||
|
||||
bool SupportsImageFormat(const ImageFormat* imageFormat) override;
|
||||
std::string GetFileExtension() override;
|
||||
void DumpImage(FileAPI::IFile* file, Texture* texture) override;
|
||||
};
|
||||
bool SupportsImageFormat(const ImageFormat* imageFormat) override;
|
||||
std::string GetFileExtension() override;
|
||||
void DumpImage(FileAPI::IFile* file, Texture* texture) override;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user