Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UTextureAssetActionsBlueprintFns
Description
Resizes the texture Source to 8 bits per color channel, if it wasn't already. HDR textures are converted to 16F (if they were 32F).
If bNormalMapsKeep16bits is true, then normal maps whose source had >= 16 bits per color channel retain 16 bits per channel (rather than 8).
Returns Success if the action was done, returns AlreadyDone if the action did not need to be done because texture already met the goal. Returns Error if the operation could not be applied because the texture is not a suitable type, or an unexpected error was encountered during processing.
| Name | ConvertTo8bitTextureSource |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/TextureAssetActionsBP.h |
| Include Path | #include "TextureAssetActionsBP.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/TextureAssetActionsBP.cpp |
UFUNCTION (BlueprintCallable, Category="TextureAssetActions")
static ETextureAssetActionsBlueprintReturn ConvertTo8bitTextureSource
(
UTexture * Texture,
bool bNormalMapsKeep16bits
)