yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::Bitmap::BitmapMetadata Struct Reference

Metadata for tracking bitmap source format and palette requirements. More...

#include <bitmap.h>

Public Member Functions

 BitmapMetadata ()=default
 
 BitmapMetadata (int bpp, int format, const std::string &type, int colors=256)
 

Public Attributes

int source_bpp = 8
 
int palette_format = 0
 
std::string source_type
 
int palette_colors = 256
 

Detailed Description

Metadata for tracking bitmap source format and palette requirements.

Definition at line 266 of file bitmap.h.

Constructor & Destructor Documentation

◆ BitmapMetadata() [1/2]

yaze::gfx::Bitmap::BitmapMetadata::BitmapMetadata ( )
default

◆ BitmapMetadata() [2/2]

yaze::gfx::Bitmap::BitmapMetadata::BitmapMetadata ( int  bpp,
int  format,
const std::string &  type,
int  colors = 256 
)
inline

Definition at line 273 of file bitmap.h.

Member Data Documentation

◆ source_bpp

int yaze::gfx::Bitmap::BitmapMetadata::source_bpp = 8

◆ palette_format

int yaze::gfx::Bitmap::BitmapMetadata::palette_format = 0

◆ source_type

std::string yaze::gfx::Bitmap::BitmapMetadata::source_type

◆ palette_colors

int yaze::gfx::Bitmap::BitmapMetadata::palette_colors = 256

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