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

BPP format metadata and conversion information. More...

#include <bpp_format_manager.h>

Public Member Functions

 BppFormatInfo ()=default
 
 BppFormatInfo (BppFormat fmt, const std::string &n, int bpp, int max_col, int bytes_tile, int bytes_sheet, bool compressed, const std::string &desc)
 

Public Attributes

BppFormat format
 
std::string name
 
int bits_per_pixel
 
int max_colors
 
int bytes_per_tile
 
int bytes_per_sheet
 
bool is_compressed
 
std::string description
 

Detailed Description

BPP format metadata and conversion information.

Definition at line 30 of file bpp_format_manager.h.

Constructor & Destructor Documentation

◆ BppFormatInfo() [1/2]

yaze::gfx::BppFormatInfo::BppFormatInfo ( )
default

◆ BppFormatInfo() [2/2]

yaze::gfx::BppFormatInfo::BppFormatInfo ( BppFormat  fmt,
const std::string &  n,
int  bpp,
int  max_col,
int  bytes_tile,
int  bytes_sheet,
bool  compressed,
const std::string &  desc 
)
inline

Definition at line 42 of file bpp_format_manager.h.

Member Data Documentation

◆ format

BppFormat yaze::gfx::BppFormatInfo::format

Definition at line 31 of file bpp_format_manager.h.

◆ name

◆ bits_per_pixel

int yaze::gfx::BppFormatInfo::bits_per_pixel

◆ max_colors

int yaze::gfx::BppFormatInfo::max_colors

◆ bytes_per_tile

int yaze::gfx::BppFormatInfo::bytes_per_tile

Definition at line 35 of file bpp_format_manager.h.

Referenced by yaze::gui::BppFormatUI::RenderFormatInfo().

◆ bytes_per_sheet

int yaze::gfx::BppFormatInfo::bytes_per_sheet

Definition at line 36 of file bpp_format_manager.h.

◆ is_compressed

bool yaze::gfx::BppFormatInfo::is_compressed

Definition at line 37 of file bpp_format_manager.h.

Referenced by yaze::gui::BppFormatUI::RenderFormatInfo().

◆ description

std::string yaze::gfx::BppFormatInfo::description

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