#include <graphics_scratch_asset.h>
Public Member Functions | |
| absl::Status | Validate () const |
Public Attributes | |
| uint64_t | id = 0 |
| std::string | name |
| std::string | source |
| std::string | source_path |
| uint64_t | source_offset = 0 |
| std::vector< uint8_t > | original_chunk |
| int | bpp = 4 |
| std::vector< uint8_t > | pixels = std::vector<uint8_t>(4096, 0) |
| std::array< uint16_t, 16 > | palette {} |
Definition at line 20 of file graphics_scratch_asset.h.
|
inline |
Definition at line 32 of file graphics_scratch_asset.h.
References bpp, name, original_chunk, palette, pixels, source, source_offset, and source_path.
Referenced by yaze::editor::GraphicsScratchLibrary::Add(), yaze::editor::EncodeScratchBin(), and yaze::editor::GraphicsScratchLibrary::Parse().
| uint64_t yaze::editor::GraphicsScratchAsset::id = 0 |
Definition at line 21 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchLibrary::Add(), yaze::editor::GraphicsScratchView::DrawColorIdSwap(), and yaze::editor::GraphicsScratchLibrary::Parse().
| std::string yaze::editor::GraphicsScratchAsset::name |
Definition at line 22 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchView::CaptureSheet(), yaze::editor::DecodeScratchBin(), yaze::editor::GraphicsScratchView::Draw(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| std::string yaze::editor::GraphicsScratchAsset::source |
Definition at line 23 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchView::CaptureSheet(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| std::string yaze::editor::GraphicsScratchAsset::source_path |
Definition at line 25 of file graphics_scratch_asset.h.
Referenced by yaze::editor::graphics_scratch_storage::ExportBin(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| uint64_t yaze::editor::GraphicsScratchAsset::source_offset = 0 |
Definition at line 26 of file graphics_scratch_asset.h.
Referenced by yaze::editor::graphics_scratch_storage::ExportBin(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| std::vector<uint8_t> yaze::editor::GraphicsScratchAsset::original_chunk |
Definition at line 27 of file graphics_scratch_asset.h.
Referenced by yaze::editor::graphics_scratch_storage::ExportBin(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| int yaze::editor::GraphicsScratchAsset::bpp = 4 |
Definition at line 28 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchView::CaptureSheet(), yaze::editor::DecodeScratchBin(), yaze::editor::anonymous_namespace{graphics_scratch_view.cc}::DefaultPalette(), yaze::editor::GraphicsScratchView::Draw(), yaze::editor::GraphicsScratchView::DrawColorIdSwap(), yaze::editor::GraphicsScratchView::DrawPixels(), yaze::editor::EncodeScratchBin(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| std::vector<uint8_t> yaze::editor::GraphicsScratchAsset::pixels = std::vector<uint8_t>(4096, 0) |
Definition at line 29 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchView::CaptureSheet(), yaze::editor::DecodeScratchBin(), yaze::editor::GraphicsScratchView::DrawPixels(), yaze::editor::EncodeScratchBin(), yaze::editor::SpriteEditor::OpenBoundBinInScratch(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().
| std::array<uint16_t, 16> yaze::editor::GraphicsScratchAsset::palette {} |
Definition at line 30 of file graphics_scratch_asset.h.
Referenced by yaze::editor::GraphicsScratchView::CaptureSheet(), yaze::editor::anonymous_namespace{graphics_scratch_view.cc}::DefaultPalette(), yaze::editor::GraphicsScratchView::DrawPixels(), yaze::editor::SpriteEditor::OpenBoundBinInScratch(), yaze::editor::GraphicsScratchLibrary::Parse(), and Validate().