Flutter Impeller
impeller::scene::SceneContextOptions::Hash Struct Reference

#include <scene_context.h>

Public Member Functions

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

Detailed Description

Definition at line 23 of file scene_context.h.

Member Function Documentation

◆ operator()()

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

Definition at line 24 of file scene_context.h.

24  {
25  return fml::HashCombine(o.sample_count, o.primitive_type);
26  }

References impeller::scene::SceneContextOptions::primitive_type, and impeller::scene::SceneContextOptions::sample_count.


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