Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FShaderCompilerMaterialCounters |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
Syntax
USTRUCT ()
struct FShaderCompilerMaterialCounters
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialCacheHits | int32 | The total number times a material translation was skipped because the the results were in the DDC. | ShaderCompiler.h | |
| MaterialTranslateCalls | int32 | The total number of materials that have been translated. | ShaderCompiler.h | |
| MaterialTranslateSerializationOnlyTimeSec | double | The total time spent serializing DDC results. | ShaderCompiler.h | |
| MaterialTranslateTotalTimeSec | double | The total time in seconds to translate all materials. | ShaderCompiler.h | |
| MaterialTranslateTranslationOnlyTimeSec | double | The total time spent actually translating materials (rather than for instance accessing the DDC cache). | ShaderCompiler.h | |
| NumMaterialsCooked | int32 | The total number of materials cooked. This corresponds to UMaterialInterface::Presave() | ShaderCompiler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GatherAnalytics
(
TArray< FAnalyticsEventAttribute >& Attributes |
ShaderCompiler.h | ||
void WriteStatSummary
(
const TCHAR* AggregatedSuffix |
ShaderCompiler.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShaderCompilerMaterialCounters & operator+=
(
const FShaderCompilerMaterialCounters& Other |
ShaderCompiler.h |