Flutter Impeller
impeller::AtlasBlenderKey::Hash Struct Reference

Public Member Functions

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

Detailed Description

Definition at line 73 of file atlas_contents.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 74 of file atlas_contents.cc.

74  {
75  return fml::HashCombine(key.color_key, key.rect.size.width,
76  key.rect.size.height, key.rect.origin.x,
77  key.rect.origin.y);
78  }

References impeller::AtlasBlenderKey::color_key, impeller::TSize< T >::height, impeller::TRect< T >::origin, impeller::AtlasBlenderKey::rect, impeller::TRect< T >::size, impeller::TSize< T >::width, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.


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