Flutter Impeller
impeller::ShaderArchive::ShaderKey::Hash Struct Reference

#include <shader_archive.h>

Public Member Functions

size_t operator() (const ShaderKey &key) const
 

Detailed Description

Definition at line 47 of file shader_archive.h.

Member Function Documentation

◆ operator()()

size_t impeller::ShaderArchive::ShaderKey::Hash::operator() ( const ShaderKey &  key) const
inline

Definition at line 48 of file shader_archive.h.

48  {
49  return fml::HashCombine(
50  static_cast<std::underlying_type_t<decltype(key.type)>>(key.type),
51  key.name);
52  }

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