Flutter Impeller
impeller::PipelineLibraryGLES::ProgramKey::Equal Struct Reference

#include <pipeline_library_gles.h>

Public Member Functions

bool operator() (const ProgramKey &lhs, const ProgramKey &rhs) const
 

Detailed Description

Definition at line 76 of file pipeline_library_gles.h.

Member Function Documentation

◆ operator()()

bool impeller::PipelineLibraryGLES::ProgramKey::Equal::operator() ( const ProgramKey &  lhs,
const ProgramKey &  rhs 
) const
inline

Definition at line 77 of file pipeline_library_gles.h.

77  {
78  return DeepComparePointer(lhs.vertex_shader, rhs.vertex_shader) &&
79  DeepComparePointer(lhs.fragment_shader, rhs.fragment_shader) &&
80  lhs.specialization_constants == rhs.specialization_constants;
81  }
bool DeepComparePointer(const std::shared_ptr< ComparableType > &lhs, const std::shared_ptr< ComparableType > &rhs)
Definition: comparable.h:57

References impeller::DeepComparePointer().


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