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 310 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 311 of file content_context.h.

312  {
313  return lhs.sample_count == rhs.sample_count &&
314  lhs.blend_mode == rhs.blend_mode &&
315  lhs.stencil_compare == rhs.stencil_compare &&
316  lhs.stencil_operation == rhs.stencil_operation &&
317  lhs.primitive_type == rhs.primitive_type &&
318  lhs.color_attachment_pixel_format ==
319  rhs.color_attachment_pixel_format &&
320  lhs.has_stencil_attachment == rhs.has_stencil_attachment &&
321  lhs.wireframe == rhs.wireframe &&
322  lhs.is_for_rrect_blur_clear == rhs.is_for_rrect_blur_clear;
323  }

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: