Blender V5.3
blender::blender::UniqueHashBytes Struct Reference

#include <bmesh_polygon.hh>

Public Member Functions

template<typename T>
void add (const T &value)

Public Attributes

Vector< std::byte, 256 > data

Detailed Description

Used to collect data to build a UniqueHash. It is more efficient to hash a span of bytes in one step than to update a hash with more data piece by piece.

Definition at line 34 of file bmesh_polygon.hh.

Member Function Documentation

◆ add()

template<typename T>
void blender::blender::UniqueHashBytes::add ( const T & value)
inline

Add bytes representing a value to the hash. Note that this doesn't account for types with non- unique object representations (i.e. float -0 and +0, or padding bytes).

Definition at line 40 of file bmesh_polygon.hh.

Member Data Documentation

◆ data

Vector<std::byte, 256> blender::blender::UniqueHashBytes::data

Definition at line 35 of file bmesh_polygon.hh.


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