FTextureStats

Encapsulates gathered stats for a particular [UTexture](API\Runtime\Engine\Engine\UTexture) object.

Windows
MacOS
Linux

Inheritance Hierarchy

FAnalyzeReferencedContentStat::FAssetStatsBase

FAnalyzeReferencedContentStat::FTextureStats

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h

Include

#include "Commandlets/AnalyzeReferencedContentStat.h"

Syntax

struct FTextureStats : public FAnalyzeReferencedContentStat::FAssetStatsBase

Remarks

Encapsulates gathered stats for a particular UTexture object.

Variables

Name Description

Public variable

bool

 

bIsReferencedByScript

Whether resource is referenced by script.

Public variable

FString

 

Format

Texture pixel format.

Public variable

int32

 

LODBias

LOD bias.

Public variable

int32

 

LODGroup

LOD group.

Public variable

TMap< FString, ...

 

MaterialsUsedBy

Map of materials this textures is being used by.

Public variable

FString

 

ResourceName

Resource name.

Public variable

int32

 

ResourceSize

Resource size of texture.

Public variable

FString

 

ResourceType

Resource type.

Constructors

Name Description

Public function

FTextureStats

(
    UTexture* Texture
)

Constructor, initializing all members

Functions

Name Description

Public function Static

FString

 

GetCSVHeaderRow()

Returns a header row for CSV

Public function Static

FString

 

GetSummaryCSVHeaderRow()

This is for summary

Public function Const

bool

 

ShouldLogStat()

Public function Const

FString

 

ToCSV()

Stringifies gathered stats in CSV format.

Public function Static

FString

 

ToSummaryCSV

(
    const FString& LevelName,
    const TMap< FString, FTextureStats ...
)

This is for summary

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss