Navigation
API > API/Editor > API/Editor/MaterialEditor
Class used for various stats utilities
| Name | FMaterialStatsUtils |
| Type | class |
| Header File | /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h |
| Include Path | #include "MaterialStatsCommon.h" |
Syntax
class FMaterialStatsUtils
Structs
| Name | Remarks |
|---|---|
| FRepresentativeShaderInfo | |
| FShaderInstructionsInfo |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< class FMaterialStats > CreateMaterialStats
(
IMaterialEditor* MaterialEditor, |
Call this to create an instance to FMaterialStats | MaterialStatsCommon.h | |
static void ExtractMatertialStatsInfo
(
EShaderPlatform ShaderPlatform, |
MaterialStatsCommon.h | ||
static FString GetPlatformOfflineCompilerPath
(
const EShaderPlatform ShaderPlatform |
MaterialStatsCommon.h | ||
static void GetPlatformOfflineCompilerSettings
(
const EShaderPlatform ShaderPlatform, |
MaterialStatsCommon.h | ||
static FString GetPlatformTypeName
(
const EPlatformCategoryType InEnumValue |
MaterialStatsCommon.h | ||
static void GetRepresentativeInstructionCounts
(
TArray< FShaderInstructionsInfo >& Results, |
Gets instruction counts that best represent the likely usage of this material based on shading model and other factors. | MaterialStatsCommon.h | |
static void GetRepresentativeShaderTypesAndDescriptions
(
TMap< FName, TArray< FRepresentativeShaderInfo > >& OutShaderTypeNameAndDescriptions, |
MaterialStatsCommon.h | ||
static bool IsPlatformOfflineCompilerAvailable
(
const EShaderPlatform ShaderPlatform |
MaterialStatsCommon.h | ||
static FString MaterialQualityToShortString
(
const EMaterialQualityLevel::Type Quality |
MaterialStatsCommon.h | ||
static FString MaterialQualityToString
(
const EMaterialQualityLevel::Type Quality |
Utility functions that translate various enum values to strings | MaterialStatsCommon.h | |
static bool PlatformNeedsOfflineCompiler
(
const EShaderPlatform ShaderPlatform |
MaterialStatsCommon.h | ||
static FSlateColor PlatformTypeColor
(
EPlatformCategoryType PlatformType |
MaterialStatsCommon.h | ||
static FSlateColor QualitySettingColor
(
const EMaterialQualityLevel::Type QualityType |
MaterialStatsCommon.h | ||
static FString RepresentativeShaderTypeToString
(
const ERepresentativeShader ShaderType |
MaterialStatsCommon.h | ||
static FString ShaderPlatformTypeName
(
const EShaderPlatform PlatformID |
MaterialStatsCommon.h | ||
static EMaterialQualityLevel::Type StringToMaterialQuality
(
const FString& StrQuality |
MaterialStatsCommon.h |