UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextureImportUtils.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
7
9{
15 template<typename ImageClassType>
17
28
42}
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ETextureSourceFormat
Definition TextureDefines.h:351
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Text.h:385
Definition TextureImportSettings.cpp:115
bool AutoDetectAndChangeGrayScale(ImageClassType &Image)
Definition TextureImportUtils.cpp:16
TEXTUREUTILITIESCOMMON_API bool IsImportResolutionValid(int64 Width, int64 Height, bool bAllowNonPowerOfTwo, FText *OutErrorMessage)
Definition TextureImportUtils.cpp:580
void FillZeroAlphaPNGData(int32 SizeX, int32 SizeY, ETextureSourceFormat SourceFormat, uint8 *SourceData, bool bDoOnComplexAlphaNotJustBinaryTransparency)
Definition TextureImportUtils.cpp:542