| 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 22 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 23 of file scene_context.h.

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

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