Porytiles
Loading...
Searching...
No Matches
porytiles::PostResolutionMismatchDetail Struct Reference

Detail record for a post-resolution slot mismatch. More...

#include <palette_builder.hpp>

Collaboration diagram for porytiles::PostResolutionMismatchDetail:
[legend]

Public Member Functions

auto operator<=> (const PostResolutionMismatchDetail &) const =default
 
bool operator== (const PostResolutionMismatchDetail &) const =default
 

Public Attributes

std::size_t source_group_index
 
std::size_t source_pal_index
 
Rgba32 source_color
 
std::size_t source_final_slot
 
std::size_t ref_pal_index
 
Rgba32 ref_color
 
std::size_t ref_final_slot
 

Detailed Description

Detail record for a post-resolution slot mismatch.

Captured after Phase 5 when an IndirectLink's source color and reference color end up at different final slots, despite the link being successfully applied in Phase 2 and resolved in Phase 4. This occurs when Phase 4 eviction (either intra-palette or cross-palette) displaces a color from its resolved target slot after resolution.

Definition at line 63 of file palette_builder.hpp.

Member Function Documentation

◆ operator<=>()

auto porytiles::PostResolutionMismatchDetail::operator<=> ( const PostResolutionMismatchDetail ) const
default

◆ operator==()

bool porytiles::PostResolutionMismatchDetail::operator== ( const PostResolutionMismatchDetail ) const
default

Member Data Documentation

◆ ref_color

Rgba32 porytiles::PostResolutionMismatchDetail::ref_color

Definition at line 69 of file palette_builder.hpp.

◆ ref_final_slot

std::size_t porytiles::PostResolutionMismatchDetail::ref_final_slot

Definition at line 70 of file palette_builder.hpp.

◆ ref_pal_index

std::size_t porytiles::PostResolutionMismatchDetail::ref_pal_index

Definition at line 68 of file palette_builder.hpp.

◆ source_color

Rgba32 porytiles::PostResolutionMismatchDetail::source_color

Definition at line 66 of file palette_builder.hpp.

◆ source_final_slot

std::size_t porytiles::PostResolutionMismatchDetail::source_final_slot

Definition at line 67 of file palette_builder.hpp.

◆ source_group_index

std::size_t porytiles::PostResolutionMismatchDetail::source_group_index

Definition at line 64 of file palette_builder.hpp.

◆ source_pal_index

std::size_t porytiles::PostResolutionMismatchDetail::source_pal_index

Definition at line 65 of file palette_builder.hpp.


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