Files
UnrealEngineUWP/Engine/Source/Developer/Datasmith/DatasmithExporter/Private/DatasmithExportOptions.cpp
JeanMichel Dignard d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00

18 lines
867 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "DatasmithExportOptions.h"
EDSExportLightmapUV FDatasmithExportOptions::LightmapUV = EDSExportLightmapUV::Always;
EDSResizeTextureMode FDatasmithExportOptions::ResizeTexturesMode = EDSResizeTextureMode::NearestPowerOfTwo;
EDSResizedTexturesPath FDatasmithExportOptions::PathTexturesMode = EDSResizedTexturesPath::ExportFolder;
int32 FDatasmithExportOptions::MaxTextureSize = 4096;
// In UE, the maximum texture resolution is computed as:
// const int32 MaximumSupportedResolution = 1 << (GMaxTextureMipCount - 1);
// (ref. UTextureFactory::IsImportResolutionValid in EditorFactories.cpp)
// but the value is defined here as to not add a dependency to the RHI module.
const int32 FDatasmithExportOptions::MaxUnrealSupportedTextureSize = 8192;
float FDatasmithExportOptions::ColorGamma = 2.2f;