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

SNES color palette. More...

#include <yaze_graphics.h>

Collaboration diagram for snes_palette:

Public Attributes

uint16_t id
 
uint16_t size
 
snes_colorcolors
 

Detailed Description

SNES color palette.

Represents a color palette used by the SNES. Each palette contains up to 256 colors, though most modes use fewer colors per palette.

Definition at line 100 of file yaze_graphics.h.

Member Data Documentation

◆ id

uint16_t snes_palette::id

Palette ID (0-255)

Definition at line 101 of file yaze_graphics.h.

◆ size

uint16_t snes_palette::size

Number of colors in palette (1-256)

Definition at line 102 of file yaze_graphics.h.

◆ colors

snes_color* snes_palette::colors

Array of colors (caller owns memory)

Definition at line 103 of file yaze_graphics.h.


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