yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_bitmap Struct Reference

Bitmap data structure. More...

#include <yaze.h>

Public Attributes

int width
 
int height
 
uint8_t bpp
 
uint8_t * data
 

Detailed Description

Bitmap data structure.

Represents a bitmap image with pixel data and metadata.

Definition at line 161 of file yaze.h.

Member Data Documentation

◆ width

int yaze_bitmap::width

Width in pixels

Definition at line 162 of file yaze.h.

Referenced by yaze_create_bitmap(), yaze_free_bitmap(), and yaze_load_bitmap().

◆ height

int yaze_bitmap::height

Height in pixels

Definition at line 163 of file yaze.h.

Referenced by yaze_create_bitmap(), yaze_free_bitmap(), and yaze_load_bitmap().

◆ bpp

uint8_t yaze_bitmap::bpp

Bits per pixel (1, 2, 4, 8)

Definition at line 164 of file yaze.h.

Referenced by yaze_create_bitmap(), yaze_free_bitmap(), and yaze_load_bitmap().

◆ data

uint8_t* yaze_bitmap::data

Pixel data (caller owns memory)

Definition at line 165 of file yaze.h.

Referenced by yaze_create_bitmap(), yaze_free_bitmap(), and yaze_load_bitmap().


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