Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTextureSource
Description
As per UpdateChannelLinearMinMax(), except acts on incoming new data rather than locking existing mips. InNewTextureData must be uncompressed UpdateChannelMinMaxFromIncomingTextureData does not use the BulkData or CompressionFormat on the TextureSource but it does use the dimensions/blocks/etc. they must be set before calling this. returns true/false for success/failure. failure may occur if the size of InNewTextureData does not match the dimensions set in the Texturesource
| Name | UpdateChannelMinMaxFromIncomingTextureData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
| Include Path | #include "Engine/Texture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
bool UpdateChannelMinMaxFromIncomingTextureData
(
FMemoryView InNewTextureData
)