Method b3Hash
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Hash(uint, byte*, int)
Computes a djb2 hash, used for determinism testing.
public static extern uint b3Hash(uint hash, byte* data, int count)Parameters
hashuint-
The running hash. Seed with Box3D.Native.Constants.B3_HASH_INIT.
databyte*-
The bytes to hash.
countint-
The number of bytes.
Returns
- uint
-
The updated hash.