Skip to main content

Interface: TextureAtlasImage

texture/atlas.TextureAtlasImage

Represents an image/texture stored on the atlas.

field tl The top left corner of the image on the atlas in pixels

field br The bottom right corner of the image on the atlas in pixels

field texture The texture stored

Properties

br

โ€ข br: vec2

Defined in

src/texture/atlas.ts:14


texture

โ€ข texture: Texture

Defined in

src/texture/atlas.ts:15


tl

โ€ข tl: vec2

Defined in

src/texture/atlas.ts:13