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 |
| BitmapPurpose | purpose = BitmapPurpose::kEditable |
Metadata for tracking bitmap source format and palette requirements.
|
default |
|
inline |
| int yaze::gfx::Bitmap::BitmapMetadata::source_bpp = 8 |
Definition at line 371 of file bitmap.h.
Referenced by yaze::zelda3::OverworldMapScreen::Create(), and yaze::zelda3::TitleScreen::Create().
| int yaze::gfx::Bitmap::BitmapMetadata::palette_format = 0 |
Definition at line 372 of file bitmap.h.
Referenced by yaze::gfx::Bitmap::ApplyPaletteByMetadata(), yaze::zelda3::OverworldMapScreen::Create(), and yaze::zelda3::TitleScreen::Create().
| std::string yaze::gfx::Bitmap::BitmapMetadata::source_type |
Definition at line 374 of file bitmap.h.
Referenced by yaze::zelda3::OverworldMapScreen::Create(), and yaze::zelda3::TitleScreen::Create().
| int yaze::gfx::Bitmap::BitmapMetadata::palette_colors = 256 |
Definition at line 375 of file bitmap.h.
Referenced by yaze::zelda3::OverworldMapScreen::Create(), and yaze::zelda3::TitleScreen::Create().
| BitmapPurpose yaze::gfx::Bitmap::BitmapMetadata::purpose = BitmapPurpose::kEditable |
Definition at line 378 of file bitmap.h.
Referenced by yaze::editor::internal::EnsureCompositeBitmapTextureQueued(), yaze::editor::internal::EnsureSheetTextureQueued(), yaze::editor::internal::EnsureSpritePreviewBitmapReady(), and yaze::gui::anonymous_namespace{canvas_rendering.cc}::LogBitmapDropIfDebug().