28 void GenerateFace(uint32_t minMipLevel, uint32_t faceIterator, uint32_t blockSize, uint8_t* outData);
29 uint8_t CombinePixels(uint8_t* pixelSrc, uint64_t index, uint64_t pitch);
30 uint8_t* CreateMip(uint8_t* pixel, uint32_t width, uint32_t height);
33 const uint32_t levelWidth,
37 uint8_t* ExtractFirstFace(uint8_t faceIndex);
38 void GenerateMipList(uint8_t faceIndex, uint32_t minMipLevel, std::vector<uint8_t*>& uncompressedMips);
39 void OutputDds(uint8_t* outPixels, uint64_t contentSize);
40 uint32_t CalculateMipMapLevelCount(uint32_t width, uint32_t height);
42 std::filesystem::path path;
44 OutputFormat outputFormat = OutputFormat::Undefined;
45 SourceChannelDataType sourceChannelDataType = SourceChannelDataType::Undefined;
47 uint8_t* sourcePixels =
nullptr;
48 uint32_t sourceWidth = 0;
49 uint32_t sourceHeight = 0;
50 uint32_t texWidth = 0;
51 uint32_t texHeight = 0;
52 uint32_t texChannels = 0;
53 uint32_t targetTexChannels = 0;
54 uint8_t sourceSizePerPixel = 1;
55 bool shouldGenerateMips =
true;
56 bool isSixSidedCubemap =
false;
Definition TextureImporter.hpp:22