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< class FMaterialStats > | CreateMaterialStats
(
IMaterialEditor* MaterialEditor, |
Call this to create an instance to FMaterialStats |
![]() ![]() |
void | ExtractMatertialStatsInfo
(
EShaderPlatform ShaderPlatform, |
|
![]() ![]() |
FString | GetPlatformOfflineCompilerPath
(
const EShaderPlatform ShaderPlatform |
|
![]() ![]() |
void | GetPlatformOfflineCompilerSettings
(
const EShaderPlatform ShaderPlatform, |
|
![]() ![]() |
FString | GetPlatformTypeName
(
const EPlatformCategoryType InEnumValue |
|
![]() ![]() |
void | GetRepresentativeInstructionCounts
(
TArray< FShaderInstructionsInfo >& Results, |
Gets instruction counts that best represent the likely usage of this material based on shading model and other factors. |
![]() ![]() |
void | GetRepresentativeShaderTypesAndDescriptions
(
TMap< FName, TArray< FRepresentativeShaderInfo > >& OutShaderTypeNameAndDescriptions, |
|
![]() ![]() |
bool | IsPlatformOfflineCompilerAvailable
(
const EShaderPlatform ShaderPlatform |
|
![]() ![]() |
FString | MaterialQualityToShortString
(
const EMaterialQualityLevel::Type Quality |
|
![]() ![]() |
FString | MaterialQualityToString
(
const EMaterialQualityLevel::Type Quality |
Utility functions that translate various enum values to strings |
![]() ![]() |
bool | PlatformNeedsOfflineCompiler
(
const EShaderPlatform ShaderPlatform |
|
![]() ![]() |
FSlateColor | PlatformTypeColor
(
EPlatformCategoryType PlatformType |
|
![]() ![]() |
FSlateColor | QualitySettingColor
(
const EMaterialQualityLevel::Type QualityType |
|
![]() ![]() |
FString | RepresentativeShaderTypeToString
(
const ERepresentativeShader ShaderType |
|
![]() ![]() |
FString | ShaderPlatformTypeName
(
const EShaderPlatform PlatformID |
|
![]() ![]() |
EMaterialQualityLevel::Type | StringToMaterialQuality
(
const FString& StrQuality |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FRepresentativeShaderInfo | ||
![]() |
FShaderInstructionsInfo |