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

SNES color palette. More...

#include <yaze.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 240 of file yaze.h.

Member Data Documentation

◆ id

uint16_t snes_palette::id

Palette ID (0-255)

Definition at line 241 of file yaze.h.

◆ size

uint16_t snes_palette::size

Number of colors in palette (1-256)

Definition at line 242 of file yaze.h.

◆ colors

snes_color* snes_palette::colors

Array of colors (caller owns memory)

Definition at line 243 of file yaze.h.


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