Flutter Impeller
impeller::ContentContextOptions::Hash Struct Reference

#include <content_context.h>

Public Member Functions

constexpr std::size_t operator() (const ContentContextOptions &o) const
 

Detailed Description

Definition at line 313 of file content_context.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t impeller::ContentContextOptions::Hash::operator() ( const ContentContextOptions o) const
inlineconstexpr

Definition at line 314 of file content_context.h.

314  {
315  return fml::HashCombine(
316  o.sample_count, o.blend_mode, o.stencil_compare, o.stencil_operation,
317  o.primitive_type, o.color_attachment_pixel_format,
318  o.has_stencil_attachment, o.wireframe, o.is_for_rrect_blur_clear);
319  }

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: