Flutter Impeller
impeller::AtlasBlenderKey::Hash Struct Reference

Public Member Functions

std::size_t operator() (const AtlasBlenderKey &key) const
 

Detailed Description

Definition at line 67 of file atlas_contents.cc.

Member Function Documentation

◆ operator()()

std::size_t impeller::AtlasBlenderKey::Hash::operator() ( const AtlasBlenderKey key) const
inline

Definition at line 68 of file atlas_contents.cc.

68  {
69  return fml::HashCombine(key.color_key, key.rect.GetWidth(),
70  key.rect.GetHeight(), key.rect.GetX(),
71  key.rect.GetY());
72  }

References impeller::AtlasBlenderKey::color_key, impeller::TRect< T >::GetHeight(), impeller::TRect< T >::GetWidth(), impeller::TRect< T >::GetX(), impeller::TRect< T >::GetY(), and impeller::AtlasBlenderKey::rect.


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