| Flutter Impeller |

Public Member Functions | List of all members
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 21 of file scene_context.h.

## Member Function Documentation

## ◆ operator()()

constexpr std::size_t impeller::scene::SceneContextOptions::Hash::operator() | ( | const SceneContextOptions & | o | ) | const
| inline constexpr

Definition at line 22 of file scene_context.h.

22 {
23 return fml::HashCombine(o.sample_count, o.primitive_type);
24 }

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

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

- impeller/scene/scene_context.h