yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::SpritePreviewResourceCache Class Reference

#include <sprite_oam_tables.h>

Public Member Functions

bool SetContext (std::string_view project_path, std::string_view assets_path, std::string_view hack_name)
 
std::span< const uint8_t > GetGraphics (const SpriteOamLayout *layout)
 

Private Attributes

std::string project_path_
 
std::string assets_path_
 
std::string hack_name_
 
std::string resource_
 
std::vector< uint8_t > graphics_
 

Detailed Description

Definition at line 49 of file sprite_oam_tables.h.

Member Function Documentation

◆ SetContext()

bool yaze::zelda3::SpritePreviewResourceCache::SetContext ( std::string_view project_path,
std::string_view assets_path,
std::string_view hack_name )

◆ GetGraphics()

std::span< const uint8_t > yaze::zelda3::SpritePreviewResourceCache::GetGraphics ( const SpriteOamLayout * layout)

Member Data Documentation

◆ project_path_

std::string yaze::zelda3::SpritePreviewResourceCache::project_path_
private

Definition at line 57 of file sprite_oam_tables.h.

Referenced by GetGraphics(), and SetContext().

◆ assets_path_

std::string yaze::zelda3::SpritePreviewResourceCache::assets_path_
private

Definition at line 58 of file sprite_oam_tables.h.

Referenced by GetGraphics(), and SetContext().

◆ hack_name_

std::string yaze::zelda3::SpritePreviewResourceCache::hack_name_
private

Definition at line 59 of file sprite_oam_tables.h.

Referenced by GetGraphics(), and SetContext().

◆ resource_

std::string yaze::zelda3::SpritePreviewResourceCache::resource_
private

Definition at line 60 of file sprite_oam_tables.h.

Referenced by GetGraphics(), and SetContext().

◆ graphics_

std::vector<uint8_t> yaze::zelda3::SpritePreviewResourceCache::graphics_
private

Definition at line 61 of file sprite_oam_tables.h.

Referenced by GetGraphics(), and SetContext().


The documentation for this class was generated from the following files: