Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include | #include "Engine/Texture.h" |
Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
bool ComputeTextureSourceChannelMinMax
&40;
FLinearColor & OutColorMin,
FLinearColor & OutColorMax
&41; const
Remarks
Scan the texture source pixels to compute the min & max values of the RGBA channels. Uses texture source, not available in runtime games. Causes texture source data to be loaded, is computed by scanning pixels when called. Will set Min=Max=zero and return false on failure