#include <pipeline_library_gles.h>
|
| std::size_t | operator() (const ProgramKey &key) const |
| |
Definition at line 60 of file pipeline_library_gles.h.
◆ operator()()
| std::size_t impeller::PipelineLibraryGLES::ProgramKey::Hash::operator() |
( |
const ProgramKey & |
key | ) |
const |
|
inline |
Definition at line 61 of file pipeline_library_gles.h.
62 auto seed = fml::HashCombine();
63 if (key.vertex_shader) {
64 fml::HashCombineSeed(seed, key.vertex_shader->GetHash());
66 if (key.fragment_shader) {
67 fml::HashCombineSeed(seed, key.fragment_shader->GetHash());
69 for (
const auto& constant : key.specialization_constants) {
70 fml::HashCombineSeed(seed, constant);
The documentation for this struct was generated from the following file: