N64 QOI Demo
A N64 homebrew app that opens QOI images from ROM
Loading...
Searching...
No Matches
qoi_img_info Struct Reference

Metadata about the QOI image and the QOI image viewer. More...

#include <qoi_viewer.h>

Data Fields

int width
 Width of the QOI image.
int height
 Height of the QOI image.
int channels
 Number of channels of the QOI image where 3 is RGB and 4 is RGBA.
qoi_error_code error
 Error code as the result of decoding.
float decodeTime
 Decoding time in seconds.
char name [256]
 Names of QOI file.
bool renderDebugFont
 Whether to toggle displaying debug text upon pressing the Start button on the N64 controller.

Detailed Description

Metadata about the QOI image and the QOI image viewer.

Definition at line 69 of file qoi_viewer.h.

Field Documentation

◆ channels

int qoi_img_info::channels

Number of channels of the QOI image where 3 is RGB and 4 is RGBA.

Definition at line 77 of file qoi_viewer.h.

◆ decodeTime

float qoi_img_info::decodeTime

Decoding time in seconds.

Definition at line 83 of file qoi_viewer.h.

◆ error

qoi_error_code qoi_img_info::error

Error code as the result of decoding.

Definition at line 80 of file qoi_viewer.h.

◆ height

int qoi_img_info::height

Height of the QOI image.

Definition at line 74 of file qoi_viewer.h.

◆ name

char qoi_img_info::name[256]

Names of QOI file.

Definition at line 86 of file qoi_viewer.h.

◆ renderDebugFont

bool qoi_img_info::renderDebugFont

Whether to toggle displaying debug text upon pressing the Start button on the N64 controller.

Definition at line 89 of file qoi_viewer.h.

◆ width

int qoi_img_info::width

Width of the QOI image.

Definition at line 71 of file qoi_viewer.h.


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