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

#include <MLX42.h>

Collaboration diagram for mlx_image:
Collaboration graph

Data Fields

const uint32_t width
 
const uint32_t height
 
uint8_tpixels
 
mlx_instance_tinstances
 
size_t count
 
bool enabled
 
voidcontext
 

Detailed Description

An image with an individual buffer that can be rendered. Any value can be modified except the width/height and context.

Parameters
widthThe width of the image.
heightThe height of the image.
pixelsThe literal pixel data.
instancesAn instance carrying the X, Y and Z location data.
countThe element count of the instances array.
enabledIf true the image is drawn onto the screen, else it's not.
contextAbstracted OpenGL data.

Definition at line 340 of file MLX42.h.

Field Documentation

◆ context

void* mlx_image::context

Definition at line 348 of file MLX42.h.

◆ count

size_t mlx_image::count

Definition at line 346 of file MLX42.h.

◆ enabled

bool mlx_image::enabled

Definition at line 347 of file MLX42.h.

◆ height

const uint32_t mlx_image::height

Definition at line 343 of file MLX42.h.

◆ instances

mlx_instance_t* mlx_image::instances

Definition at line 345 of file MLX42.h.

◆ pixels

uint8_t* mlx_image::pixels

Definition at line 344 of file MLX42.h.

◆ width

const uint32_t mlx_image::width

Definition at line 342 of file MLX42.h.


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