Flutter Impeller
impeller::scene::PipelineKey::Hash Struct Reference

#include <pipeline_key.h>

Public Member Functions

constexpr std::size_t operator() (const PipelineKey &o) const
 

Detailed Description

Definition at line 27 of file pipeline_key.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t impeller::scene::PipelineKey::Hash::operator() ( const PipelineKey o) const
inlineconstexpr

Definition at line 28 of file pipeline_key.h.

28  {
29  return fml::HashCombine(o.geometry_type, o.material_type);
30  }

References impeller::scene::PipelineKey::geometry_type, and impeller::scene::PipelineKey::material_type.


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