|
Blender V5.3
|
#include <BLI_unique_hash.hh>
Public Member Functions | |
| template<typename T> | |
| void | add (const T &value) |
Public Attributes | |
| Vector< std::byte, 256 > | data |
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 BLI_unique_hash.hh.
|
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 BLI_unique_hash.hh.
Referenced by blender::fn::FieldHashDeep::ensure().
| Vector<std::byte, 256> blender::UniqueHashBytes::data |
Definition at line 35 of file BLI_unique_hash.hh.
Referenced by add(), blender::fn::FieldHashDeep::ensure(), and blender::fn::FieldInput::hash().