Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAnalyzeReferencedContentStat
Encapsulates gathered stats for a particular UTexture object.
| Name | FTextureStats |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include Path | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FTextureStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase → FAnalyzeReferencedContentStat::FTextureStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextureStats
(
UTexture* Texture |
Constructor, initializing all members | Commandlets/AnalyzeReferencedContentStat.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsReferencedByScript | bool | Whether resource is referenced by script. | Commandlets/AnalyzeReferencedContentStat.h | |
| Format | FString | Texture pixel format. | Commandlets/AnalyzeReferencedContentStat.h | |
| LODBias | int32 | LOD bias. | Commandlets/AnalyzeReferencedContentStat.h | |
| LODGroup | int32 | LOD group. | Commandlets/AnalyzeReferencedContentStat.h | |
| MaterialsUsedBy | TMap< FString, int32 > | Map of materials this textures is being used by. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceName | FString | Resource name. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceSize | int32 | Resource size of texture. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceType | FString | Resource type. | Commandlets/AnalyzeReferencedContentStat.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ShouldLogStat() |
Commandlets/AnalyzeReferencedContentStat.h | ||
FString ToCSV() |
Stringifies gathered stats in CSV format. | Commandlets/AnalyzeReferencedContentStat.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetCSVHeaderRow() |
Returns a header row for CSV | Commandlets/AnalyzeReferencedContentStat.h | |
static FString GetSummaryCSVHeaderRow() |
This is for summary | Commandlets/AnalyzeReferencedContentStat.h | |
static FString ToSummaryCSV
(
const FString& LevelName, |
This is for summary | Commandlets/AnalyzeReferencedContentStat.h |