You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Allow Oodle texture plugin & module to be overridden by project configuration when building standalone texture build workers.
#rb devin.doucette [CL 17107168 by Zousar Shaker in ue5-main branch]
This commit is contained in:
@@ -264,7 +264,20 @@ FGuid FTextureBuildFunction::GetVersion() const
|
||||
{
|
||||
UE::DerivedData::FBuildVersionBuilder Builder;
|
||||
Builder << TextureDerivedDataVersion;
|
||||
GetVersion(Builder);
|
||||
ITextureFormat* TextureFormat = nullptr;
|
||||
GetVersion(Builder, TextureFormat);
|
||||
if (TextureFormat)
|
||||
{
|
||||
TArray<FName> SupportedFormats;
|
||||
TextureFormat->GetSupportedFormats(SupportedFormats);
|
||||
TArray<uint16> SupportedFormatVersions;
|
||||
for (const FName& SupportedFormat : SupportedFormats)
|
||||
{
|
||||
SupportedFormatVersions.AddUnique(TextureFormat->GetVersion(SupportedFormat));
|
||||
}
|
||||
SupportedFormatVersions.Sort();
|
||||
Builder << SupportedFormatVersions;
|
||||
}
|
||||
return Builder.Build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user