/
Manifest
/
Real_Texture
Обзор
Документация
Войти
/
Manifest
/
Real_Texture
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Plugins/pixelreader/Source/PixelReader/Private/ImageStruct.cpp
26 строк
698 B
m.samodurov
init commit for The Invaders
17 фев 2026, 04:57
17 фев 2026, 04:57
4a668d4
Код
Авторство
О чём код?
// Fill out your copyright notice in the Description page of Project Settings. #include "ImageStruct.h" bool preDefineCompressingParams ( E_PR_ImageFormat inFormat, std::pair<EImageFormat, FString>& outParams ) { outParams.first = EImageFormat::Invalid; outParams.second = TEXT(".none"); switch (inFormat) { case E_PR_ImageFormat::JPEG: outParams.first = EImageFormat::JPEG; outParams.second = TEXT(".jpg"); return true; case E_PR_ImageFormat::PNG: outParams.first = EImageFormat::PNG, outParams.second = TEXT(".png"); return true; default: case E_PR_ImageFormat::RAW_RED: UE_LOG(LogTemp, Log, TEXT("Does not exist RAW Red Channel compressing format!")); return false; }; }