Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
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 44 of file shader_archive.h.

Member Function Documentation

◆ operator()()

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

Definition at line 45 of file shader_archive.h.

45 {
46 return fml::HashCombine(
47 static_cast<std::underlying_type_t<decltype(key.type)>>(key.type),
48 key.name);
49 }
GLenum type
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

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