Flutter Impeller
impeller::ShaderKey::Hash Struct Reference

#include <shader_key.h>

Public Member Functions

size_t operator() (const ShaderKey &key) const
 

Detailed Description

Definition at line 25 of file shader_key.h.

Member Function Documentation

◆ operator()()

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

Definition at line 26 of file shader_key.h.

26  {
27  return fml::HashCombine(key.name, key.stage);
28  }

References impeller::ShaderKey::name, and impeller::ShaderKey::stage.


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