Skip to content

TextureResource

A TextureResource contains a single texture image, or a reference to one if it is localised.

TextureResource structure

Name Type Condition Description
header ThorResourceHeader
isLocalised bool Indicates whether this texture has localised content.
path BasicString isLocalised Virtual path to localised texture file. Never observed to refer to anything but raw PNG files.
format EncryptedString !isLocalised Format of data. Never observed to be anything other than "png".
data Array<uint8> !isLocalised