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

#include <pipeline_key.h>

Public Member Functions

constexpr bool operator() (const PipelineKey &lhs, const PipelineKey &rhs) const
 

Detailed Description

Definition at line 33 of file pipeline_key.h.

Member Function Documentation

◆ operator()()

constexpr bool impeller::scene::PipelineKey::Equal::operator() ( const PipelineKey lhs,
const PipelineKey rhs 
) const
inlineconstexpr

Definition at line 34 of file pipeline_key.h.

35  {
36  return lhs.geometry_type == rhs.geometry_type &&
37  lhs.material_type == rhs.material_type;
38  }

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


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