class StaticTextureAtlasLayout::TexAtlasNode

Represent a single node in the texture atlas binary tree.

Public

Constructors

TexAtlasNode

TexAtlasNode() = default

TexAtlasNode

constexpr TexAtlasNode(u32 x, u32 y, u32 width, u32 height)

Fields

X

u32 X

Y

u32 Y

Width

u32 Width

Height

u32 Height

Children

u32[2] Children

NodeFull

bool NodeFull