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

#include <MLX42.h>

Collaboration diagram for mlx_texture:
Collaboration graph

Data Fields

uint32_t width
 
uint32_t height
 
uint8_t bytes_per_pixel
 
uint8_tpixels
 

Detailed Description

Base object for disk loaded textures. It contains rudementary information about the texture.

Parameters
widthThe width of the texture.
heightThe height of the texture.
pixelsThe literal pixel data.
bytes_per_pixelThe amount of bytes in a pixel, always 4.

Definition at line 263 of file MLX42.h.

Field Documentation

◆ bytes_per_pixel

uint8_t mlx_texture::bytes_per_pixel

Definition at line 267 of file MLX42.h.

◆ height

uint32_t mlx_texture::height

Definition at line 266 of file MLX42.h.

◆ pixels

uint8_t* mlx_texture::pixels

Definition at line 268 of file MLX42.h.

◆ width

uint32_t mlx_texture::width

Definition at line 265 of file MLX42.h.


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