Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h |
Include | #include "MaterialStatsCommon.h" |
Syntax
class FMaterialStatsUtils
Remarks
Class used for various stats utilities
Functions
Type | Name | Description |
---|---|---|
TSharedPtr< ... | CreateMaterialStats ( IMaterialEditor* MaterialEdito... ) | Call this to create an instance to FMaterialStats |
void | ExtractMatertialStatsInfo ( EShaderPlatform ShaderPlatform, FShaderStatsInfo& OutInfo, const FMaterialResource* Targe... ) | |
FString | GetPlatformOfflineCompilerPath ( const EShaderPlatform ShaderPlatfor... ) | |
FString | GetPlatformTypeName ( const EPlatformCategoryType InEnumV... ) | |
void | GetRepresentativeInstructionCounts ( TArray< FShaderInstructionsInfo >&..., const FMaterialResource* Targe... ) | Gets instruction counts that best represent the likely usage of this material based on shading model and other factors. |
void | GetRepresentativeShaderTypesAndDescriptions ( TMap< FName, TArray< FRepresentativ..., const FMaterial* TargetMateria... ) | |
bool | IsPlatformOfflineCompilerAvailable ( const EShaderPlatform ShaderPlatfor... ) | |
FString | MaterialQualityToShortString ( const EMaterialQualityLevel::Type Q... ) | |
FString | MaterialQualityToString ( const EMaterialQualityLevel::Type Q... ) | Utility functions that translate various enum values to strings |
bool | PlatformNeedsOfflineCompiler ( const EShaderPlatform ShaderPlatfor... ) | |
FSlateColor | PlatformTypeColor ( EPlatformCategoryType PlatformType ) | |
FSlateColor | QualitySettingColor ( const EMaterialQualityLevel::Type Q... ) | |
FString | RepresentativeShaderTypeToString ( const ERepresentativeShader ShaderT... ) | |
FString | ShaderPlatformTypeName ( const EShaderPlatform PlatformID ) | |
EMaterialQua... | StringToMaterialQuality ( const FString& StrQuality ) |
Classes
Type | Name | Description |
---|---|---|
Public struct | FRepresentativeShaderInfo | |
Public struct | FShaderInstructionsInfo |