FTextureAtlasMetaData

Public Functions

Name
FTextureAtlasMetaData()
FTextureAtlasMetaData(FTextureAtlasMetaData const & ) =delete
voidLoadAtlasMetaData()
voidSerializeAtlasMetaData()
voidAddAtlasedAsset(const FString & AssetName, FTextureAtlasMappingInfo MappingInfo)
voidRenameAtlasedAsset(const FString & OldAssetName, const FString & NewAssetName)
voidRemoveAtlasedAsset(const FString & AssetName)
voidRemoveAllAssetsFromAtlas(const FString & AtlasPath)
voidAddAtlas(const FString & AtlasPath)
voidRenameAtlas(const FString & OldAtlasPath, const FString & NewAtlasPath)
voidRemoveAtlas(const FString & AtlasPath)
voidSetAtlasNeedsRebuild(const FString & AtlasPath, bool bNeedsRebuild)
const TArray< AtlasInfoPtr > &GetAtlases() const
const TMap< FString, FTextureAtlasMappingInfo > &GetAtlasedTextures() const
AtlasInfoPtrFindAtlasInfo(const FString & AtlasPath) const
FTextureAtlasMetaData &Get()

Public Attributes

Name
const uint32GDefaultMaxAtlasSize
const uint32GDefaultMaxTextureSizeToPack
TMap< FString, UCohtmlTextureAtlasDetails * >AtlasDetails

Public Functions Documentation

function FTextureAtlasMetaData

inline FTextureAtlasMetaData()

function FTextureAtlasMetaData

FTextureAtlasMetaData(
    FTextureAtlasMetaData const & 
) =delete

function LoadAtlasMetaData

void LoadAtlasMetaData()

function SerializeAtlasMetaData

void SerializeAtlasMetaData()

function AddAtlasedAsset

void AddAtlasedAsset(
    const FString & AssetName,
    FTextureAtlasMappingInfo MappingInfo
)

function RenameAtlasedAsset

void RenameAtlasedAsset(
    const FString & OldAssetName,
    const FString & NewAssetName
)

function RemoveAtlasedAsset

void RemoveAtlasedAsset(
    const FString & AssetName
)

function RemoveAllAssetsFromAtlas

void RemoveAllAssetsFromAtlas(
    const FString & AtlasPath
)

function AddAtlas

void AddAtlas(
    const FString & AtlasPath
)

function RenameAtlas

void RenameAtlas(
    const FString & OldAtlasPath,
    const FString & NewAtlasPath
)

function RemoveAtlas

void RemoveAtlas(
    const FString & AtlasPath
)

function SetAtlasNeedsRebuild

void SetAtlasNeedsRebuild(
    const FString & AtlasPath,
    bool bNeedsRebuild
)

function GetAtlases

const TArray< AtlasInfoPtr > & GetAtlases() const

function GetAtlasedTextures

const TMap< FString, FTextureAtlasMappingInfo > & GetAtlasedTextures() const

function FindAtlasInfo

AtlasInfoPtr FindAtlasInfo(
    const FString & AtlasPath
) const

function Get

static FTextureAtlasMetaData & Get()

Public Attributes Documentation

variable GDefaultMaxAtlasSize

static const uint32 GDefaultMaxAtlasSize;

variable GDefaultMaxTextureSizeToPack

static const uint32 GDefaultMaxTextureSizeToPack;

variable AtlasDetails

TMap< FString, UCohtmlTextureAtlasDetails * > AtlasDetails;