FMaterialUtilities::FindMaxTextureSize

End [IModuleInterface](API\Runtime\Core\Modules\IModuleInterface) implementation Iterate through all textures used by the material and return the maximum texture resolution used

Unreal Engine C++ API Reference > Developer > MaterialUtilities > FMaterialUtilities

References

   
Module MaterialUtilities
Header /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Include #include "MaterialUtilities.h"
Source /Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp
static FIntPoint FindMaxTextureSize
(
    [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * InMaterialInterface,
    FIntPoint MinimumSize
)

Remarks

End IModuleInterface implementation Iterate through all textures used by the material and return the maximum texture resolution used Size (width and height)

Parameters

Name Description
MaterialInterface The material to scan for texture size
MinimumSize The minimum size returned

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library