yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::sprite_graphics_context Namespace Reference

Functions

absl::StatusOr< GraphicsEditContext > Make (const zsprite::Frame &frame, int frame_index, int oam_index, const std::array< uint8_t, 8 > &slots, const gfx::PaletteGroup &palettes, const zelda3::GameData *owner, const std::string &source_label, const std::string &sheet_source)
 
absl::StatusOr< usage_preview::PreviewImage > RenderCapturedFrame (const zsprite::Frame &frame, const std::array< uint8_t, 8 > &slots, const gfx::PaletteGroup &palettes, const zelda3::GameData *owner)
 
absl::StatusOr< usage_preview::PreviewImage > RenderFrameBuffer (const zsprite::Frame &frame, std::span< const uint8_t > buffer, const gfx::PaletteGroup &palettes)
 

Function Documentation

◆ Make()

◆ RenderCapturedFrame()

absl::StatusOr< usage_preview::PreviewImage > yaze::editor::sprite_graphics_context::RenderCapturedFrame ( const zsprite::Frame & frame,
const std::array< uint8_t, 8 > & slots,
const gfx::PaletteGroup & palettes,
const zelda3::GameData * owner )

Definition at line 103 of file sprite_graphics_context.cc.

References RenderFrameBuffer(), and yaze::editor::usage_preview::SnapshotSessionSheets().

Referenced by yaze::editor::SpriteEditor::OpenSelectedOamGraphics().

Here is the call graph for this function:

◆ RenderFrameBuffer()