Skip to content

Class: TEX_INFO

Texture atlas entry exposed by UI texture metadata.

Source

C++ class TEX_INFO

Custom Constructor

TEX_INFO

Remarks

Metadata is borrowed from the engine UI texture atlas; use it for inspection, not ownership.

Constructors

Constructor

ts
new TEX_INFO(): TEX_INFO;

Returns

TEX_INFO

Methods

get_file_name()

ts
get_file_name(): string;

Get source texture file name.

Returns

string

Texture file name.


get_rect()

ts
get_rect(): Frect;

Get rectangle occupied by this texture in the atlas.

Returns

Frect

Texture rectangle.