Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor > FMaterialStatsUtils
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h |
Include | #include "MaterialStatsCommon.h" |
Source | /Engine/Source/Editor/MaterialEditor/Private/MaterialStatsCommon.cpp |
static void GetRepresentativeInstructionCounts ( [TArray](API\Runtime\Core\Containers\TArray)< [FShaderInstructionsInfo](API\Editor\MaterialEditor\FMaterialStatsUtils\FShaderInstructionsInfo) > & Results, const class [FMaterialResource](API\Runtime\Engine\FMaterialResource) * Target )
Remarks
Gets instruction counts that best represent the likely usage of this material based on shading model and other factors.
Parameters
Name | Description |
---|---|
Results | an array of descriptions to be populated |