Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
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 342 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 343 of file content_context.h.

344 {
345 return lhs.sample_count == rhs.sample_count &&
346 lhs.blend_mode == rhs.blend_mode &&
347 lhs.depth_write_enabled == rhs.depth_write_enabled &&
348 lhs.depth_compare == rhs.depth_compare &&
349 lhs.stencil_mode == rhs.stencil_mode &&
350 lhs.primitive_type == rhs.primitive_type &&
351 lhs.color_attachment_pixel_format ==
352 rhs.color_attachment_pixel_format &&
353 lhs.has_depth_stencil_attachments ==
354 rhs.has_depth_stencil_attachments &&
355 lhs.wireframe == rhs.wireframe &&
356 lhs.is_for_rrect_blur_clear == rhs.is_for_rrect_blur_clear;
357 }

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