Flutter Impeller
impeller::ContentContextOptions::Equal Struct Reference

#include <content_context.h>

Public Member Functions

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

Detailed Description

Definition at line 322 of file content_context.h.

Member Function Documentation

◆ operator()()

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

Definition at line 323 of file content_context.h.

324  {
325  return lhs.sample_count == rhs.sample_count &&
326  lhs.blend_mode == rhs.blend_mode &&
327  lhs.stencil_compare == rhs.stencil_compare &&
328  lhs.stencil_operation == rhs.stencil_operation &&
329  lhs.primitive_type == rhs.primitive_type &&
330  lhs.color_attachment_pixel_format ==
331  rhs.color_attachment_pixel_format &&
332  lhs.has_stencil_attachment == rhs.has_stencil_attachment &&
333  lhs.wireframe == rhs.wireframe &&
334  lhs.is_for_rrect_blur_clear == rhs.is_for_rrect_blur_clear;
335  }

References impeller::ContentContextOptions::blend_mode, impeller::ContentContextOptions::color_attachment_pixel_format, impeller::ContentContextOptions::has_stencil_attachment, impeller::ContentContextOptions::is_for_rrect_blur_clear, impeller::ContentContextOptions::primitive_type, impeller::ContentContextOptions::sample_count, impeller::ContentContextOptions::stencil_compare, impeller::ContentContextOptions::stencil_operation, and impeller::ContentContextOptions::wireframe.


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