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

#include <scene_context.h>

Public Member Functions

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

Detailed Description

Definition at line 29 of file scene_context.h.

Member Function Documentation

◆ operator()()

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

Definition at line 30 of file scene_context.h.

31  {
32  return lhs.sample_count == rhs.sample_count &&
33  lhs.primitive_type == rhs.primitive_type;
34  }

References impeller::scene::SceneContextOptions::primitive_type, and impeller::scene::SceneContextOptions::sample_count.


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