MLX42 1.0
MLX42
Loading...
Searching...
No Matches
mlx_instance Struct Reference

#include <MLX42.h>

Collaboration diagram for mlx_instance:
Collaboration graph

Data Fields

int32_t x
 
int32_t y
 
int32_t z
 
bool enabled
 

Detailed Description

An image instance can be summarized as just a simple x, y & z coordinate.

Coordinates start from the top left of the screen at 0,0 and increase towards the bottom right.

NOTE: To change the z value, use mlx_set_instance_depth!

Parameters
xThe x location.
yThe y location.
zThe z depth, controls if the image is on the fore or background.
enabledIf true, the instance is drawn, else it's not.

Definition at line 301 of file MLX42.h.

Field Documentation

◆ enabled

bool mlx_instance::enabled

Definition at line 306 of file MLX42.h.

◆ x

int32_t mlx_instance::x

Definition at line 303 of file MLX42.h.

◆ y

int32_t mlx_instance::y

Definition at line 304 of file MLX42.h.

◆ z

int32_t mlx_instance::z

Definition at line 305 of file MLX42.h.


The documentation for this struct was generated from the following file: