Blender V4.3
blender::ComputeContextHash Struct Reference

#include <BLI_compute_context.hh>

Public Member Functions

uint64_t hash () const
 
void mix_in (const void *data, int64_t len)
 

Public Attributes

uint64_t v1 = 0
 
uint64_t v2 = 0
 

Friends

std::ostream & operator<< (std::ostream &stream, const ComputeContextHash &hash)
 

Detailed Description

A hash that uniquely identifies a specific (non-fixed-size) compute context. The hash has to have enough bits to make collisions practically impossible.

Definition at line 51 of file BLI_compute_context.hh.

Member Function Documentation

◆ hash()

uint64_t blender::ComputeContextHash::hash ( ) const
inline

◆ mix_in()

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const ComputeContextHash & hash )
friend

Definition at line 26 of file compute_context.cc.

Member Data Documentation

◆ v1

uint64_t blender::ComputeContextHash::v1 = 0

◆ v2

uint64_t blender::ComputeContextHash::v2 = 0

Definition at line 53 of file BLI_compute_context.hh.


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