Blender V5.3
blender::UniqueHash Struct Reference

#include <BLI_unique_hash.hh>

Public Member Functions

uint64_t hash () const

Public Attributes

uint64_t v1
uint64_t v2

Friends

bool operator== (const UniqueHash &a, const UniqueHash &b)=default

Detailed Description

A hash that uniquely identifies data. The hash has to have enough bits to make collisions practically impossible.

Definition at line 19 of file BLI_unique_hash.hh.

Member Function Documentation

◆ hash()

Definition at line 23 of file BLI_unique_hash.hh.

References v1.

◆ operator==

bool operator== ( const UniqueHash & a,
const UniqueHash & b )
friend

References b.

Member Data Documentation

◆ v1

Definition at line 20 of file BLI_unique_hash.hh.

Referenced by hash().

◆ v2


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