Type Definition ggez::graphics::ZIndex

source ·
pub type ZIndex = i32;
Expand description

Value describing the Z “coordinate” of a draw.

Greater values correspond to the foreground, and lower values correspond to the background.

InstanceArrays internally uphold this order for their instances, if they’re created with ordered set to true.