Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::PaintParamsKey::Hash Struct Reference

#include <PaintParamsKey.h>

Public Member Functions

uint32_t operator() (const PaintParamsKey &k) const
 

Detailed Description

Definition at line 80 of file PaintParamsKey.h.

Member Function Documentation

◆ operator()()

uint32_t skgpu::graphite::PaintParamsKey::Hash::operator() ( const PaintParamsKey k) const
inline

Definition at line 81 of file PaintParamsKey.h.

81 {
82 return SkChecksum::Hash32(k.fData.data(), k.fData.size_bytes());
83 }
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)
Definition: SkChecksum.cpp:113

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