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 368 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 369 of file content_context.h.

370  {
371  return lhs.sample_count == rhs.sample_count &&
372  lhs.blend_mode == rhs.blend_mode &&
373  lhs.depth_write_enabled == rhs.depth_write_enabled &&
374  lhs.depth_compare == rhs.depth_compare &&
375  lhs.stencil_mode == rhs.stencil_mode &&
376  lhs.primitive_type == rhs.primitive_type &&
377  lhs.color_attachment_pixel_format ==
378  rhs.color_attachment_pixel_format &&
379  lhs.has_depth_stencil_attachments ==
380  rhs.has_depth_stencil_attachments &&
381  lhs.wireframe == rhs.wireframe &&
382  lhs.is_for_rrect_blur_clear == rhs.is_for_rrect_blur_clear;
383  }

References impeller::ContentContextOptions::blend_mode, impeller::ContentContextOptions::color_attachment_pixel_format, impeller::ContentContextOptions::depth_compare, impeller::ContentContextOptions::depth_write_enabled, impeller::ContentContextOptions::has_depth_stencil_attachments, impeller::ContentContextOptions::is_for_rrect_blur_clear, impeller::ContentContextOptions::primitive_type, impeller::ContentContextOptions::sample_count, impeller::ContentContextOptions::stencil_mode, and impeller::ContentContextOptions::wireframe.


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