Hasher for color objects. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| ColorHash (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| ColorHash () | |
| Constructor. | |
| ColorHash (float thePrecision) | |
| Constructor. | |
| uint | Apply (cadex.Materials.Color theValue) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Hasher for color objects.
|
inline |
Constructor.
The hash calculation will occur with a default rounding of 1e-4f for the color component.
|
inline |
Constructor.
The hash calculation will occur with a rounding of thePrecision for the color component.