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

#include <MLX42.h>

Collaboration diagram for xpm:
Collaboration graph

Data Fields

mlx_texture_t texture
 
int32_t color_count
 
int32_t cpp
 
char mode
 

Detailed Description

Struct containing data regarding an XPM image.

Parameters
textureThe texture data of the XPM.
color_countThe amount of colors available.
cppThe amount of characters per pixel.
modeThe color mode, either (c)olor or (m)onochrome.

Definition at line 279 of file MLX42.h.

Field Documentation

◆ color_count

int32_t xpm::color_count

Definition at line 282 of file MLX42.h.

◆ cpp

int32_t xpm::cpp

Definition at line 283 of file MLX42.h.

◆ mode

char xpm::mode

Definition at line 284 of file MLX42.h.

◆ texture

mlx_texture_t xpm::texture

Definition at line 281 of file MLX42.h.


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