Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
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 46 of file shader_archive.h.

Member Function Documentation

◆ operator()()

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

Definition at line 47 of file shader_archive.h.

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

References fml::HashCombine(), key, and type.


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