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 24 of file shader_key.h.

Member Function Documentation

◆ operator()()

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

Definition at line 25 of file shader_key.h.

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

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


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